diff options
| author | Sam Steingold | 2009-09-22 23:49:10 +0000 |
|---|---|---|
| committer | Sam Steingold | 2009-09-22 23:49:10 +0000 |
| commit | 0aa4f295f59c1e4cb3dae225a1ae82759f8953fa (patch) | |
| tree | 3fd354f7007beeea0078a351cc06ba98e4258888 | |
| parent | 71630ffea060292203f14627262c11172fc35ded (diff) | |
| download | emacs-0aa4f295f59c1e4cb3dae225a1ae82759f8953fa.tar.gz emacs-0aa4f295f59c1e4cb3dae225a1ae82759f8953fa.zip | |
(vc-hg-outgoing, vc-hg-incoming): Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
| -rw-r--r-- | lisp/ChangeLog | 1 | ||||
| -rw-r--r-- | 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 @@ | |||
| 3 | * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing. | 3 | * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing. |
| 4 | (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command' | 4 | (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command' |
| 5 | to 1 because hg returns status 1 when nothing is found. | 5 | to 1 because hg returns status 1 when nothing is found. |
| 6 | Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'. | ||
| 6 | 7 | ||
| 7 | 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 8 | 9 | ||
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." | |||
| 569 | 569 | ||
| 570 | (defun vc-hg-outgoing () | 570 | (defun vc-hg-outgoing () |
| 571 | (interactive) | 571 | (interactive) |
| 572 | (let ((bname "*Hg outgoing*")) | 572 | (let ((bname "*Hg outgoing*") (vc-short-log nil)) |
| 573 | (vc-hg-command bname 1 nil "outgoing" "-n") | 573 | (vc-hg-command bname 1 nil "outgoing" "-n") |
| 574 | (pop-to-buffer bname) | 574 | (pop-to-buffer bname) |
| 575 | (vc-hg-outgoing-mode))) | 575 | (vc-hg-outgoing-mode))) |
| 576 | 576 | ||
| 577 | (defun vc-hg-incoming () | 577 | (defun vc-hg-incoming () |
| 578 | (interactive) | 578 | (interactive) |
| 579 | (let ((bname "*Hg incoming*")) | 579 | (let ((bname "*Hg incoming*") (vc-short-log nil)) |
| 580 | (vc-hg-command bname 0 nil "incoming" "-n") | 580 | (vc-hg-command bname 0 nil "incoming" "-n") |
| 581 | (pop-to-buffer bname) | 581 | (pop-to-buffer bname) |
| 582 | (vc-hg-incoming-mode))) | 582 | (vc-hg-incoming-mode))) |