versionedfiles progress/opportunities to help
Robert Collins
robertc at robertcollins.net
Wed May 14 02:03:35 BST 2008
So, VersionedFiles (seeking better name yada yada yada). No Martin, I
won't call it Kittens as a working name ;).
Currently it has fully tested and functional:
keys()
get_record_stream()
get_parent_map()
get_sha1s()
with mappings for all the current layouts - weaves, knits, with and
without hash prefixes and the various pack mapped indices.
I've nearly finished insert_record_stream, and with that and an
annotate() call it should be sufficient to allow removal of the various
stores on Repository. I'm off to UDS now, which will impact the amount
of time I get to code on this each day.
I've pushed the work in progress to my versioned_files branch. The tip
commit is just a snapshot, it has *huge* duplicate code, which I will be
shrinking/removing completely before submitting a merge request.
The next steps are:
- finish insert_record_stream (I should have this done on the plane
today).
- expose various instances on Repository objects - there will be 4 -
revisions, signatures, inventories and texts.
- switch all callers over
- delete the old code (deprecation here is not worth it IMO)
- merge
- move back to the stacking code and have it use this
We need a Remote* version of this interface, and this can be started on
now, as the interface is looking stable and complete.
Migration of callers can be done by anyone based on the current draft
code - the only missing step is exposing instances, which is pretty
straight forward.
Cheers,
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/20080514/dfa42a49/attachment.pgp
More information about the bazaar
mailing list