From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Patch: vc-hg -vs- vc-status Date: Tue, 08 Jan 2008 17:48:57 -0700 Message-ID: Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199841648 2350 80.91.229.12 (9 Jan 2008 01:20:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2008 01:20:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 09 02:21:10 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JCPcx-0004KW-Do for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 02:21:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCPca-0003MQ-5N for ged-emacs-devel@m.gmane.org; Tue, 08 Jan 2008 20:20:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCPcW-0003MD-NP for emacs-devel@gnu.org; Tue, 08 Jan 2008 20:20:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCPcU-0003Lp-El for emacs-devel@gnu.org; Tue, 08 Jan 2008 20:20:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCPcU-0003Le-76 for emacs-devel@gnu.org; Tue, 08 Jan 2008 20:20:38 -0500 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCPcT-0001pm-RU for emacs-devel@gnu.org; Tue, 08 Jan 2008 20:20:38 -0500 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m091KbDI031926 for ; Tue, 8 Jan 2008 20:20:37 -0500 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m091Kbe6010620 for ; Tue, 8 Jan 2008 20:20:37 -0500 Original-Received: from opsy.redhat.com (ton.yyz.redhat.com [10.15.16.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m091Ka2e003560; Tue, 8 Jan 2008 20:20:37 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 42C62508021; Tue, 8 Jan 2008 17:48:57 -0700 (MST) X-Attribution: Tom User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86600 Archived-At: 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 * 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)