repositories - pinning down discovery behaviour

Denys Duchier duchier at ps.uni-sb.de
Wed Feb 8 09:49:47 GMT 2006


Robert Collins <robertc at robertcollins.net> writes:

> On Mon, 2006-02-06 at 08:25 +0100, Denys Duchier wrote:
>> I suggested assigning a uuid at shared-repo creation time to make (what I
>> called) "inheritance" a bit more robust.
>
> I'm not sure why its more robust. Branches are not coupled to
> repositories, only to the presence of the revision data. Having branches
> not directly contained by their repository makes gc very hard; the only
> things I can see a uuid allowing are violations of the rule about being
> contained [i.e. by allowing repo contains repo contains branch using the
> outer repo].

Yes, that's exactly what Aaron was worried about in the presence of inheritance:
that users would nest repos and that an existing branch might then start to
inherit the wrong repo.  The uuid idea makes inheritance more robust in the
presence of nested repos.

the uuid idea is just your "bit" idea, but with a lot more entropy :-)

Cheers,

--Denys






More information about the bazaar mailing list