# HG changeset patch # User Glenn Morris # Date 1228009492 0 # Node ID 9ab9afca446446e5c8aec0d3e5d9ad1af289ca97 # Parent 961732603114f47638f512b31142e4332c8435e7 (vc-hg-diff): No need to duplicate vc-switches logic. diff -r 961732603114 -r 9ab9afca4464 lisp/vc-hg.el --- a/lisp/vc-hg.el Sun Nov 30 01:44:33 2008 +0000 +++ b/lisp/vc-hg.el Sun Nov 30 01:44:52 2008 +0000 @@ -276,7 +276,7 @@ (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)