Alternate revno proposal (Was: Re: VCS comparison table)
Jan Hudec
bulb at ucw.cz
Thu Oct 19 06:45:56 BST 2006
On Thu, Oct 19, 2006 at 12:14:02AM +0200, Jakub Narebski wrote:
> Jan Hudec wrote:
> > Comments?
>
> What about fetching from repository? For revnos you have to assign revno for
> all commit you have downloaded; now you need only to unpack received pack
> (or not, if you used --keep option). More work.
I don't know git internals, so I can't tell for git. For bzr:
1) You have to add the data to the knits, since the knits are one for
each versioned file plus one for inventory and one for revision
metadata, so this is just a small addition to that work. In fact the
revnos in repository-wide case would be just the indices into the
revisions knit (while in the branch-wide there would have to be a
special list).
2) Bzr already generates a special list, revision-history, where it
stores a list of mainline branches (in fact it used to store a list
of local commits, but now lists the path over leftmost parents).
So it already does the work.
--------------------------------------------------------------------------------
- Jan Hudec `Bulb' <bulb at ucw.cz>
More information about the bazaar
mailing list