summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2009-09-22 23:49:10 +0000
committerSam Steingold <sds@gnu.org>2009-09-22 23:49:10 +0000
commit0aa4f295f59c1e4cb3dae225a1ae82759f8953fa (patch)
tree3fd354f7007beeea0078a351cc06ba98e4258888
parent71630ffea060292203f14627262c11172fc35ded (diff)
downloademacs-0aa4f295f59c1e4cb3dae225a1ae82759f8953fa.tar.gz
(vc-hg-outgoing, vc-hg-incoming): Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/vc-hg.el4
2 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d7a0790428e..c9c47e46f83 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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>
diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el
index e021178624b..9ced663fade 100644
--- a/lisp/vc-hg.el
+++ b/lisp/vc-hg.el
@@ -569,14 +569,14 @@ REV is the revision to check out into WORKFILE."
(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)))