[merge] robert, aaron, daniel

Martin Pool mbp at sourcefrog.net
Fri Nov 18 07:48:32 GMT 2005


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?

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

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.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051118/20ac7eb0/attachment.pgp 


More information about the bazaar mailing list