]> git.eshelyaron.com Git - emacs.git/commitdiff
Call vc-setup-buffer in vc-hg-log-incoming and vc-hg-log-outgoing
authorAndrii Kolomoiets <andreyk.mad@gmail.com>
Wed, 27 Nov 2019 12:13:12 +0000 (14:13 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 27 Nov 2019 12:13:12 +0000 (14:13 +0200)
* lisp/vc/vc-hg.el (vc-hg-log-incoming, vc-hg-log-outgoing):
Call vc-setup-buffer.

lisp/vc/vc-hg.el

index eab7e566b274aa64a149d297a88c13d5f4f1763b..a05815288c566a1c838fcd36c02eaafcb664baa3 100644 (file)
@@ -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)))