changeset 100058:fc3d57499127

(vc-mtn-diff): No need to duplicate vc-switches logic.
author Glenn Morris <rgm@gnu.org>
date Sun, 30 Nov 2008 01:45:29 +0000
parents 9ab9afca4464
children 18d556e2b8e1
files lisp/ChangeLog lisp/vc-mtn.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Nov 30 01:44:52 2008 +0000
+++ b/lisp/ChangeLog	Sun Nov 30 01:45:29 2008 +0000
@@ -1,5 +1,9 @@
 2008-11-30  Glenn Morris  <rgm@gnu.org>
 
+	* vc-git.el (vc-git-diff):
+	* vc-hg.el (vc-hg-diff):
+	* vc-mtn.el (vc-mtn-diff): No need to duplicate vc-switches logic.
+
 	* eshell/esh-proc.el (eshell-needs-pipe): New variable.
 	(eshell-needs-pipe-p): New function.
 	(eshell-gather-process-output): Set process-connection-type according to
--- a/lisp/vc-mtn.el	Sun Nov 30 01:44:52 2008 +0000
+++ b/lisp/vc-mtn.el	Sun Nov 30 01:45:29 2008 +0000
@@ -205,7 +205,7 @@
   "Get a difference report using monotone between two revisions of FILES."
   (apply 'vc-mtn-command (or buffer "*vc-diff*") 1 files "diff"
          (append
-           (vc-switches (if vc-mtn-diff-switches 'mtn) 'diff)
+           (vc-switches 'mtn 'diff)
            (if rev1 (list "-r" rev1)) (if rev2 (list "-r" rev2)))))
 
 (defun vc-mtn-annotate-command (file buf &optional rev)