[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp ChangeLog vc-hg.el
From: |
Sam Steingold |
Subject: |
[Emacs-diffs] emacs/lisp ChangeLog vc-hg.el |
Date: |
Tue, 22 Sep 2009 18:43:48 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Sam Steingold <sds> 09/09/22 18:43:47
Modified files:
lisp : ChangeLog vc-hg.el
Log message:
(vc-hg-outgoing, vc-hg-incoming): Ignore errors from
`vc-hg-command' because hg returns status 1 when nothing is found.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16234&r2=1.16235
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/vc-hg.el?cvsroot=emacs&r1=1.99&r2=1.100
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16234
retrieving revision 1.16235
diff -u -b -r1.16234 -r1.16235
--- ChangeLog 22 Sep 2009 18:16:48 -0000 1.16234
+++ ChangeLog 22 Sep 2009 18:43:45 -0000 1.16235
@@ -1,6 +1,8 @@
2009-09-22 Sam Steingold <address@hidden>
* 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.
2009-09-22 Stefan Monnier <address@hidden>
Index: vc-hg.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-hg.el,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -b -r1.99 -r1.100
--- vc-hg.el 22 Sep 2009 18:16:51 -0000 1.99
+++ vc-hg.el 22 Sep 2009 18:43:47 -0000 1.100
@@ -570,14 +570,14 @@
(defun vc-hg-outgoing ()
(interactive)
(let ((bname "*Hg outgoing*"))
- (vc-hg-command bname 0 nil "outgoing" "-n")
+ (ignore-errors (vc-hg-command bname 0 nil "outgoing" "-n"))
(pop-to-buffer bname)
(vc-hg-outgoing-mode)))
(defun vc-hg-incoming ()
(interactive)
(let ((bname "*Hg incoming*"))
- (vc-hg-command bname 0 nil "incoming" "-n")
+ (ignore-errors (vc-hg-command bname 0 nil "incoming" "-n"))
(pop-to-buffer bname)
(vc-hg-incoming-mode)))