From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: [vc-git] Showing =?utf-8?b?4oCYLmdpdC8q4oCZ?= files in vc-dir Date: Sun, 04 Jul 2010 15:26:21 -0400 Message-ID: References: <4C2A5279.2080706@cybersprocket.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278271600 18884 80.91.229.12 (4 Jul 2010 19:26:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Jul 2010 19:26:40 +0000 (UTC) Cc: Eric James Michael Ritz , emacs-devel@gnu.org, Miles Bader To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 04 21:26:38 2010 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.69) (envelope-from ) id 1OVUpm-0002ni-81 for ged-emacs-devel@m.gmane.org; Sun, 04 Jul 2010 21:26:38 +0200 Original-Received: from localhost ([127.0.0.1]:52775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVUph-00060C-Rs for ged-emacs-devel@m.gmane.org; Sun, 04 Jul 2010 15:26:29 -0400 Original-Received: from [199.232.76.173] (port=52883 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OVUpc-0005yn-W1 for emacs-devel@gnu.org; Sun, 04 Jul 2010 15:26:25 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1OVUpb-000190-Ti for emacs-devel@gnu.org; Sun, 04 Jul 2010 15:26:24 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:50494) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1OVUpb-00018w-Jk for emacs-devel@gnu.org; Sun, 04 Jul 2010 15:26:23 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OVUpZ-0000kF-MM; Sun, 04 Jul 2010 15:26:21 -0400 In-Reply-To: (Stefan Monnier's message of "Sun\, 04 Jul 2010 19\:27\:30 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/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:126759 Archived-At: Stefan Monnier writes: >> (vc-git-state "SOME_FILE_THAT_DOES_NOT_EXIST") says 'unregistered >> (vc-git-state ".git/HEAD") says 'unregistered > > I'd expect most backends to suffer from this. AFAIK only bzr and git do. Git is too bad, it's commands can distinguish files in .git. > The problem here is that Git seems to actively make the user access > a file under the .git directory. > > Although, there might be more to it, since opening .bzr/branch/location > didn't add it to the *vc-dir* buffer when I tried it. It's not opening, it's saving a file that adds it to *vc-dir*. bzr is slightly broken about this: $ bzr status .bzr/branch/last-revision unknown: .bzr/branch/last-revision whereas: $ hg status .hg/dirstate abort: path contains illegal component: .hg/dirstate