changeset 105151:09e3118c4c13

(vc-hg-outgoing, vc-hg-incoming): Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
author Sam Steingold <sds@gnu.org>
date Tue, 22 Sep 2009 23:49:10 +0000
parents 204d93911c98
children 677719c71dbc
files lisp/ChangeLog lisp/vc-hg.el
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Sep 22 23:48:19 2009 +0000
+++ b/lisp/ChangeLog	Tue Sep 22 23:49:10 2009 +0000
@@ -3,6 +3,7 @@
 	* vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
 	(vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
 	to 1 because hg returns status 1 when nothing is found.
+	Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
 
 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 
--- a/lisp/vc-hg.el	Tue Sep 22 23:48:19 2009 +0000
+++ b/lisp/vc-hg.el	Tue Sep 22 23:49:10 2009 +0000
@@ -569,14 +569,14 @@
 
 (defun vc-hg-outgoing ()
   (interactive)
-  (let ((bname "*Hg outgoing*"))
+  (let ((bname "*Hg outgoing*") (vc-short-log nil))
     (vc-hg-command bname 1 nil "outgoing" "-n")
     (pop-to-buffer bname)
     (vc-hg-outgoing-mode)))
 
 (defun vc-hg-incoming ()
   (interactive)
-  (let ((bname "*Hg incoming*"))
+  (let ((bname "*Hg incoming*") (vc-short-log nil))
     (vc-hg-command bname 0 nil "incoming" "-n")
     (pop-to-buffer bname)
     (vc-hg-incoming-mode)))