emacs-diffs
[Top][All Lists]
Advanced

[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 23:48:22 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Sam Steingold <sds>     09/09/22 23:48:22

Modified files:
        lisp           : ChangeLog vc-hg.el 

Log message:
        (vc-hg-outgoing, vc-hg-incoming): use okstatus instead of ignore-errors

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16235&r2=1.16236
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/vc-hg.el?cvsroot=emacs&r1=1.100&r2=1.101

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16235
retrieving revision 1.16236
diff -u -b -r1.16235 -r1.16236
--- ChangeLog   22 Sep 2009 18:43:45 -0000      1.16235
+++ ChangeLog   22 Sep 2009 23:48:19 -0000      1.16236
@@ -1,8 +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.
+       (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  <address@hidden>
 

Index: vc-hg.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-hg.el,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -b -r1.100 -r1.101
--- vc-hg.el    22 Sep 2009 18:43:47 -0000      1.100
+++ vc-hg.el    22 Sep 2009 23:48:22 -0000      1.101
@@ -570,14 +570,14 @@
 (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)))
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]