(vc-hg-diff): No need to duplicate vc-switches logic.

This commit is contained in:
Glenn Morris 2008-11-30 01:44:52 +00:00
parent 68159bc533
commit 0334426971

View file

@ -276,7 +276,7 @@ If you want to force an empty list of arguments, use t."
(expand-file-name default-directory))
"diff"
(append
(vc-switches (if vc-hg-diff-switches 'hg) 'diff)
(vc-switches 'hg 'diff)
(when oldvers
(if newvers
(list "-r" oldvers "-r" newvers)