Skip to content

Commit ee2c82c

Browse files
authored
Merge pull request #411 from jupblb/hgdiff
Reset mercurial diff alias when calling hg diff
2 parents 7d538b7 + 704f8a8 commit ee2c82c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoload/sy/repo.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ endfunction
620620
let s:default_vcs_cmds = {
621621
\ 'git': 'git diff --no-color --no-ext-diff -U0 -- %f',
622622
\ 'yadm': 'yadm diff --no-color --no-ext-diff -U0 -- %f',
623-
\ 'hg': 'hg diff --color=never --config aliases.diff= --nodates -U0 -- %f',
623+
\ 'hg': 'hg --config alias.diff=diff diff --color=never --nodates -U0 -- %f',
624624
\ 'svn': 'svn diff --diff-cmd %d -x -U0 -- %f',
625625
\ 'bzr': 'bzr diff --using %d --diff-options=-U0 -- %f',
626626
\ 'darcs': 'darcs diff --no-pause-for-gui --no-unified --diff-opts=-U0 -- %f',

doc/signify.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Default:
192192
let g:signify_vcs_cmds = {
193193
\ 'git': 'git diff --no-color --no-ext-diff -U0 -- %f',
194194
\ 'yadm': 'yadm diff --no-color --no-ext-diff -U0 -- %f',
195-
\ 'hg': 'hg diff --color=never --config aliases.diff= --nodates -U0 -- %f',
195+
\ 'hg': 'hg --config alias.diff=diff diff --color=never --nodates -U0 -- %f',
196196
\ 'svn': 'svn diff --diff-cmd %d -x -U0 -- %f',
197197
\ 'bzr': 'bzr diff --using %d --diff-options=-U0 -- %f',
198198
\ 'darcs': 'darcs diff --no-pause-for-gui --no-unified --diff-opts=-U0 -- %f',

0 commit comments

Comments
 (0)