From 0aa4f295f59c1e4cb3dae225a1ae82759f8953fa Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Tue, 22 Sep 2009 23:49:10 +0000 Subject: [PATCH] (vc-hg-outgoing, vc-hg-incoming): Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'. --- lisp/ChangeLog | 1 + lisp/vc-hg.el | 4 ++-- 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 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))) -- 2.39.5