Commit 03344269 authored by Glenn Morris's avatar Glenn Morris
Browse files

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

parent 68159bc5
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment