From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: vc-bzr bogosities Date: Tue, 24 Jul 2007 09:23:49 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185283443 25458 80.91.229.12 (24 Jul 2007 13:24:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2007 13:24:03 +0000 (UTC) Cc: Riccardo Murri , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 24 15:24:01 2007 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 1IDKMn-0001Y5-Gx for ged-emacs-devel@m.gmane.org; Tue, 24 Jul 2007 15:23:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDKMm-0007gK-RH for ged-emacs-devel@m.gmane.org; Tue, 24 Jul 2007 09:23:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IDKMj-0007gF-NI for emacs-devel@gnu.org; Tue, 24 Jul 2007 09:23:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IDKMi-0007g3-CL for emacs-devel@gnu.org; Tue, 24 Jul 2007 09:23:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDKMi-0007g0-7c for emacs-devel@gnu.org; Tue, 24 Jul 2007 09:23:52 -0400 Original-Received: from tomts36.bellnexxia.net ([209.226.175.93] helo=tomts36-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IDKMg-0005El-On; Tue, 24 Jul 2007 09:23:50 -0400 Original-Received: from pastel.home ([70.53.195.145]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070724132349.GDFW7033.tomts36-srv.bellnexxia.net@pastel.home>; Tue, 24 Jul 2007 09:23:49 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8FD158011; Tue, 24 Jul 2007 09:23:49 -0400 (EDT) In-Reply-To: (Miles Bader's message of "Tue\, 24 Jul 2007 21\:32\:27 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:75454 Archived-At: > Note only isn't that a bzr dir, but I don't even _use_ bzr (though I > have a .bar config file from a long time ago, which only has my email > address in it). I guess the above ".bar" was meant to be ".bzr" and is really ~/.bzr, right? If so, that explains it: VC walks up the directory tree until it finds a ".bzr" subdirectory and considers it to be the root of a BZR tree. We need to make this determination more selective. I don't know BZR nearly well enough to know what should be done. Would checking for .bzr/branch-format be a good check (i.e. would it always succeed in a real BZR workspace and would it normally fail in the ~/.bzr config dir)? Stefan