versioned file branch

Robert Collins robertc at robertcollins.net
Wed Feb 1 08:26:26 GMT 2006


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

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060201/9a0356f4/attachment.pgp 


More information about the bazaar mailing list