From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#18579: 24.3.93; vc-bzr-after-dir-status should not skip ignored files Date: Fri, 03 Oct 2014 05:03:55 +0400 Message-ID: <542DF5FB.9010905@yandex.ru> References: <86vbo7wfsc.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1412298269 20346 80.91.229.3 (3 Oct 2014 01:04:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2014 01:04:29 +0000 (UTC) Cc: 18579@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 03 03:04:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZrID-00052U-1n for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Oct 2014 03:04:21 +0200 Original-Received: from localhost ([::1]:37178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZrIC-0001kI-FC for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 21:04:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZrI1-0001jk-Pw for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 21:04:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZrHu-0007sl-Aa for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 21:04:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZrHu-0007sY-8E for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 21:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZrHt-0005XX-Pu for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 21:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Oct 2014 01:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18579 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 18579-submit@debbugs.gnu.org id=B18579.141229824021287 (code B ref 18579); Fri, 03 Oct 2014 01:04:01 +0000 Original-Received: (at 18579) by debbugs.gnu.org; 3 Oct 2014 01:04:00 +0000 Original-Received: from localhost ([127.0.0.1]:59593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZrHr-0005XH-Jt for submit@debbugs.gnu.org; Thu, 02 Oct 2014 21:03:59 -0400 Original-Received: from mail-lb0-f178.google.com ([209.85.217.178]:61504) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZrHp-0005X8-9l for 18579@debbugs.gnu.org; Thu, 02 Oct 2014 21:03:57 -0400 Original-Received: by mail-lb0-f178.google.com with SMTP id w7so192029lbi.23 for <18579@debbugs.gnu.org>; Thu, 02 Oct 2014 18:03:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=mTtlwWY8RDjkQROlcq6N/i736GFoZTEyhINlZsbSq2U=; b=02hpwdiqgwGPu/ctxEXove/TP3FE6d55rs8asqnV8oQjdlGUILXK8xwJ7/P5atXbZS P6LgtJVntI1BRY5VoZ3mP9dWAvFOwg/Tqrx+4QtT7eDOhJfYD836XekyV9lzuN7Qfnb2 5r204xoJJJljlJfGASiPzFtmPxDeY7DkhZsXBmeoYwhxhETeWNmh9aIKT2FU34IFFTZY oliISukecxL3nGc9qj8fp3TnVse1DQan4ZhujrFd1vbjKjHuN0+QxJ+niX9HDjdzMcJu PGvixwTDBcmScud4LqH+fY8ceOCr3GZ6a6r+JW2ut8MDqzu+WeZOkoAxwfvw5U/KStiP XE/w== X-Received: by 10.152.8.9 with SMTP id n9mr2335567laa.2.1412298236260; Thu, 02 Oct 2014 18:03:56 -0700 (PDT) Original-Received: from [192.168.1.3] ([178.252.98.87]) by mx.google.com with ESMTPSA id my10sm2119974lbb.9.2014.10.02.18.03.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Oct 2014 18:03:55 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94066 Archived-At: On 09/29/2014 05:29 PM, Stefan Monnier wrote: > Why does this feature need an `ignored' value for the ignored files? > I thought we could simply say that any file which is not > edited/up-to-date/unknown is assumed to be ignored. Here's another reason why this is not ideal: vc-bzr doesn't include up-to-date files in the `dir-status-files' results either. Since there's no apparent switch in `bzr status' for that, I guess these entries could be determined by exclusion. `vc-svn-dir-status-files' has a similar problem, except its status output doesn't distinguish between up-to-date and not-found files. We could either ignore that problem and do as with Bzr above, or call `svn status' with switch "-v", and parse the output in the different format. `vc-hg-dir-status-files' doesn't include ignored files, nor up-to-date files, which is weird, given that `vc-hg-after-dir-status' tries to parse these statuses. Apparently, we should add a "-A" switch in `vc-hg-dir-status-files'.