[merge] robert, aaron, daniel

John A Meinel john at arbash-meinel.com
Fri Nov 18 13:51:00 GMT 2005


Martin Pool wrote:
> On 17 Nov 2005, John A Meinel <john at arbash-meinel.com> wrote:
>> Robert Collins wrote:
> 
>> One is that it would be nice to "browse" a repository, even we are
>> accessing it over http. Which means that we would need to track each
>> branch individually.
>> If we give up punning the physical path to a branch with its identifier,
>> then things get a lot easier. So we can have a physical storage of:
>>
>> $REPOSITORY/
>>   repository/
>>   branches/
>>     <branch-id1>/
>>       README
>>       branch/
>>     <branch-id2>/
>>       README
>>       branch/
>>   branchinfo
> 
> What kind of thing do you mean by branch-id here?  A human-assigned
> short name, a global name, or something like a uuid?

I was meaning a uuid.

> 
>> Where branchinfo has a list mapping the namespace to the physical path.
>>
>> Is it worth giving up the namespace => physical path punning?
> 
>> Or we can change all of the "revision-history" files and weave them
>> together based on something like branch-id.
> 
> Given our recent model clarification, the revision-history no longer
> needs to be preserved; it's implied as the left-hand path through all
> the revisions up to a tip.  (It will still be useful to cache it as a
> fast way to get random access by revno.)
> 

So we've decided to get rid of convergence?

> The most important thing stored for a branch is just a writeable pointer
> to the tip revision of that branch.  Everything else, including the
> revision history, can come out of this.
> 

Other than the caching aspect, which I think is important. (Especially
for checkouts, which need to realize if they are even in the branch they
are referencing).

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051118/068e7b8d/attachment.pgp 


More information about the bazaar mailing list