diff options
| author | Sam Steingold <sds@gnu.org> | 2009-09-22 23:48:19 +0000 |
|---|---|---|
| committer | Sam Steingold <sds@gnu.org> | 2009-09-22 23:48:19 +0000 |
| commit | 71630ffea060292203f14627262c11172fc35ded (patch) | |
| tree | b4f1493f03dc735da099c51f09d3b58673af3082 /lisp | |
| parent | 48e8a88b2b86f259676cf7a1114573fbadf3c168 (diff) | |
| download | emacs-71630ffea060292203f14627262c11172fc35ded.tar.gz | |
(vc-hg-outgoing, vc-hg-incoming): use okstatus instead of ignore-errors
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/vc-hg.el | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cebb444e380..d7a0790428e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,8 +1,8 @@ 2009-09-22 Sam Steingold <sds@gnu.org> * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing. - (vc-hg-outgoing, vc-hg-incoming): Ignore errors from - `vc-hg-command' because hg returns status 1 when nothing is found. + (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command' + to 1 because hg returns status 1 when nothing is found. 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca> diff --git a/lisp/vc-hg.el b/lisp/vc-hg.el index 80f130bd565..e021178624b 100644 --- a/lisp/vc-hg.el +++ b/lisp/vc-hg.el @@ -570,14 +570,14 @@ REV is the revision to check out into WORKFILE." (defun vc-hg-outgoing () (interactive) (let ((bname "*Hg outgoing*")) - (ignore-errors (vc-hg-command bname 0 nil "outgoing" "-n")) + (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*")) - (ignore-errors (vc-hg-command bname 0 nil "incoming" "-n")) + (vc-hg-command bname 0 nil "incoming" "-n") (pop-to-buffer bname) (vc-hg-incoming-mode))) |
