changeset 100057:9ab9afca4464

(vc-hg-diff): No need to duplicate vc-switches logic.
author Glenn Morris <rgm@gnu.org>
date Sun, 30 Nov 2008 01:44:52 +0000
parents 961732603114
children fc3d57499127
files lisp/vc-hg.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)