emacs-devel
[Top][All Lists]
Advanced

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

Re: vc-bzr bogosities


From: Stefan Monnier
Subject: Re: vc-bzr bogosities
Date: Tue, 24 Jul 2007 10:53:20 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>> > 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).

Not just that, but the original problem is that running `bzr' signals errors
so my proposition is trying to reduce the cases where we need to run `bzr'.


        Stefan




reply via email to

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