all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: emacs-devel@gnu.org
Subject: Patch: vc-hg -vs- vc-status
Date: Tue, 08 Jan 2008 17:48:57 -0700	[thread overview]
Message-ID: <m3fxx7q0w6.fsf@fleche.redhat.com> (raw)

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

Tom

2008-01-09  Tom Tromey  <tromey@redhat.com>

	* 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."
   (with-temp-buffer
-    (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	other threads:[~2008-01-09  0:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-09  0:48 Tom Tromey [this message]
2008-01-09  2:11 ` Patch: vc-hg -vs- vc-status Dan Nicolaescu
2008-01-09  1:45   ` Tom Tromey
2008-01-09  5:21     ` Dan Nicolaescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3fxx7q0w6.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.