summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Kolomoiets <andreyk.mad@gmail.com>2019-11-27 14:13:12 +0200
committerDmitry Gutov <dgutov@yandex.ru>2019-11-27 14:13:12 +0200
commit52e2682f015d70b0945d9037686eec5fb8761571 (patch)
tree0f0626c28a78f660be0ea86767ef19ffd86480e3
parent55dcd32ad2209dc34bfb6b713bf73be9bf4c4cb2 (diff)
downloademacs-52e2682f015d70b0945d9037686eec5fb8761571.tar.gz
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 eab7e566b27..a05815288c5 100644
--- a/lisp/vc/vc-hg.el
+++ b/lisp/vc/vc-hg.el
@@ -1289,10 +1289,12 @@ REV is the revision to check out into WORKFILE."
)))
(defun vc-hg-log-incoming (buffer remote-location)
+ (vc-setup-buffer buffer)
(vc-hg-command buffer 1 nil "incoming" "-n" (unless (string= remote-location "")
remote-location)))
(defun vc-hg-log-outgoing (buffer remote-location)
+ (vc-setup-buffer buffer)
(vc-hg-command buffer 1 nil "outgoing" "-n" (unless (string= remote-location "")
remote-location)))