mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
(vc-mtn-diff): No need to duplicate vc-switches logic.
This commit is contained in:
parent
0334426971
commit
39ba78efad
@ -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
|
||||
|
@ -205,7 +205,7 @@ If you want to force an empty list of arguments, use t."
|
||||
"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)
|
||||
|
Loading…
Reference in New Issue
Block a user