[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-bzr bogosities

From: Riccardo Murri
Subject: Re: vc-bzr bogosities
Date: Tue, 24 Jul 2007 15:37:40 +0200

On 7/24/07, Stefan Monnier <address@hidden> wrote:
> 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)?

That would probably be a workaround, although the only authoritative
check would be to run `cd file-name-directory && bzr root` (but that
slows vc-bzr down a lot).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]