versioned file branch

Jan Hudec bulb at ucw.cz
Sun Feb 5 11:11:31 GMT 2006


On Sat, Feb 04, 2006 at 12:37:55 -0600, John A Meinel wrote:
> Robert Collins wrote:
> > This is a small api request for the versioned file knits support:
> > 
> > It would be great if we can record that a record in the knit has as a
> > parent an id that is not present in the knit: that is a ghost. We should
> > be able to get the ghost record when we get the inclusions of a given
> > record - perhaps something like:
> > ancestors, ghosts = knits.get_inclusions(id)
> > 
> > Secondly, when we 'fill out' one of those ids that were not present, we
> > should have the previously ghosted references become normal ones:
> > 
> > if we had a record 'A' that referenced 'B' and 'B' was not in the knit,
> > and we then...
> >  * add 'B' to the knit
> > 
> > requests for the inclusions of 'A' should now return
> > (['B']), ([])
> > 
> > Obviously this may require rewriting the index - this is fine as ghost
> > filling should not be a common operation.
> > 
> > This was discussed at UBZ but I dont recall anything being written about
> > it which is why I'm mailing...
> > 
> > Rob
> > 
> 
> I'm wondering if we shouldn't have 3 categories: transitive ancestors,
> non-transitive ancestors, and ghosts.
> 
> But at the least, I think the knit should include the information that
> 'this revision is a parent, even if I don't have the text information
> about it.'
> 
> So +1 on having knits record ghosts.

As far as I can see, ghost and transitive are orthogonal. Besides ghost is
a property of that revision while transitive/non-transitive is a property of
the parent-child relation.

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- 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/20060205/d4ba3c35/attachment.pgp 


More information about the bazaar mailing list