aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrii Kolomoiets2019-11-27 14:13:12 +0200
committerDmitry Gutov2019-11-27 14:17:03 +0200
commite7b4c248a6d2a2eca19a2a362103a7f24cfe30fc (patch)
treebe3b3bf79ee89969d8e0954356e6d6400461d64f
parent99532a87bccb136b81db79de8df02168a65b43de (diff)
downloademacs-e7b4c248a6d2a2eca19a2a362103a7f24cfe30fc.tar.gz
emacs-e7b4c248a6d2a2eca19a2a362103a7f24cfe30fc.zip
Call vc-setup-buffer in vc-hg-log-incoming and vc-hg-log-outgoing
* lisp/vc/vc-hg.el (vc-hg-log-incoming, vc-hg-log-outgoing): Call vc-setup-buffer.
-rw-r--r--lisp/vc/vc-hg.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el
index 17d38fa4005..5ff1a6204b1 100644
--- a/lisp/vc/vc-hg.el
+++ b/lisp/vc/vc-hg.el
@@ -1378,10 +1378,12 @@ REV is the revision to check out into WORKFILE."
1378 ))) 1378 )))
1379 1379
1380(defun vc-hg-log-incoming (buffer remote-location) 1380(defun vc-hg-log-incoming (buffer remote-location)
1381 (vc-setup-buffer buffer)
1381 (vc-hg-command buffer 1 nil "incoming" "-n" (unless (string= remote-location "") 1382 (vc-hg-command buffer 1 nil "incoming" "-n" (unless (string= remote-location "")
1382 remote-location))) 1383 remote-location)))
1383 1384
1384(defun vc-hg-log-outgoing (buffer remote-location) 1385(defun vc-hg-log-outgoing (buffer remote-location)
1386 (vc-setup-buffer buffer)
1385 (vc-hg-command buffer 1 nil "outgoing" "-n" (unless (string= remote-location "") 1387 (vc-hg-command buffer 1 nil "outgoing" "-n" (unless (string= remote-location "")
1386 remote-location))) 1388 remote-location)))
1387 1389