[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: vc-hg -vs- vc-status

From: Tom Tromey
Subject: Patch: vc-hg -vs- vc-status
Date: Tue, 08 Jan 2008 17:48:57 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

I think this patch improves the mercurial code for vc-status.
Without this, ignored files show up in the status buffer.


2008-01-09  Tom Tromey  <address@hidden>

        * vc-hg.el (vc-hg-dir-status): Don't pass -A to "hg status".

Index: lisp/vc-hg.el
RCS file: /sources/emacs/emacs/lisp/vc-hg.el,v
retrieving revision 1.43
diff -u -r1.43 vc-hg.el
--- lisp/vc-hg.el       8 Jan 2008 20:44:37 -0000       1.43
+++ lisp/vc-hg.el       9 Jan 2008 01:15:15 -0000
@@ -485,7 +485,7 @@
 (defun vc-hg-dir-status (dir)
   "Return a list of conses (file . state) for DIR."
-    (vc-hg-command (current-buffer) nil dir "status" "-A")
+    (vc-hg-command (current-buffer) nil dir "status")
     (goto-char (point-min))
     (let ((status-char nil)
          (file nil)

reply via email to

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