unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Patch: vc-hg -vs- vc-status
@ 2008-01-09  0:48 Tom Tromey
  2008-01-09  2:11 ` Dan Nicolaescu
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Tromey @ 2008-01-09  0:48 UTC (permalink / raw)
  To: emacs-devel

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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Patch: vc-hg -vs- vc-status
  2008-01-09  2:11 ` Dan Nicolaescu
@ 2008-01-09  1:45   ` Tom Tromey
  2008-01-09  5:21     ` Dan Nicolaescu
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Tromey @ 2008-01-09  1:45 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

>>>>> "Dan" == Dan Nicolaescu <dann@ics.uci.edu> writes:

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

Dan> Duh, I was too quick to copy+paste, please check this in.

I don't have write access.

Tom

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Patch: vc-hg -vs- vc-status
  2008-01-09  0:48 Patch: vc-hg -vs- vc-status Tom Tromey
@ 2008-01-09  2:11 ` Dan Nicolaescu
  2008-01-09  1:45   ` Tom Tromey
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Nicolaescu @ 2008-01-09  2:11 UTC (permalink / raw)
  To: Tom Tromey; +Cc: emacs-devel

Tom Tromey <tromey@redhat.com> writes:

  > 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".

Duh, I was too quick to copy+paste, please check this in.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Patch: vc-hg -vs- vc-status
  2008-01-09  1:45   ` Tom Tromey
@ 2008-01-09  5:21     ` Dan Nicolaescu
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Nicolaescu @ 2008-01-09  5:21 UTC (permalink / raw)
  To: Tom Tromey; +Cc: emacs-devel

Tom Tromey <tromey@redhat.com> writes:

  > >>>>> "Dan" == Dan Nicolaescu <dann@ics.uci.edu> writes:
  > 
  > >> * vc-hg.el (vc-hg-dir-status): Don't pass -A to "hg status".
  > 
  > Dan> Duh, I was too quick to copy+paste, please check this in.
  > 
  > I don't have write access.

Sorry, I didn't know that seeing your name in the ChangeLogs for so
long... 
I checked this in.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-09  5:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-09  0:48 Patch: vc-hg -vs- vc-status Tom Tromey
2008-01-09  2:11 ` Dan Nicolaescu
2008-01-09  1:45   ` Tom Tromey
2008-01-09  5:21     ` Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).