versioned file branch

John A Meinel john at arbash-meinel.com
Sat Feb 4 18:37:55 GMT 2006


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.

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/20060204/881013a6/attachment.pgp 


More information about the bazaar mailing list