From 252585f90d9efec77b1bd5602ff98e19b86d87e4 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 7 Nov 2012 22:26:02 +0100 Subject: [PATCH] Adding splice as merge tool --- dotfiles/gitconfig | 5 ++++- dotfiles/hg/hgrc | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dotfiles/gitconfig b/dotfiles/gitconfig index 7ff0347..d31aa9e 100644 --- a/dotfiles/gitconfig +++ b/dotfiles/gitconfig @@ -8,7 +8,10 @@ editor = vim pager = less -FXRS -x4 [merge] - tool = gvimdiff + tool = splice +[mergetool "splice"] + cmd = "gvim -f $BASE $LOCAL $REMOTE $MERGED -c 'SpliceInit'" + trustExitCode = true [alias] wdiff = diff --color-words wlog = log --color-words diff --git a/dotfiles/hg/hgrc b/dotfiles/hg/hgrc index d473cbd..87acaae 100644 --- a/dotfiles/hg/hgrc +++ b/dotfiles/hg/hgrc @@ -4,8 +4,10 @@ merge = gvimdiff editor = vim [merge-tools] -gvimdiff.executable = gvim -gvimdiff.args = -f -d $base $local $output $other -c "wincmd J" +splice.executable = gvim +splice.args = -f $base $local $other $output -c 'SpliceInit' +splice.premerge = keep +splice.priority = 1 [web] cacerts = -- 2.39.5