Rev 2490: Incremental push-pull notes. in file:///home/robertc/source/baz/roadmap/
Robert Collins
robertc at robertcollins.net
Fri May 18 19:12:17 BST 2007
At file:///home/robertc/source/baz/roadmap/
------------------------------------------------------------
revno: 2490
revision-id: robertc at robertcollins.net-20070518181212-acujb9ai3r3ds8s3
parent: robertc at robertcollins.net-20070515143142-1u0xo65hyhewgkyw
committer: Robert Collins <robertc at robertcollins.net>
branch nick: roadmap
timestamp: Sat 2007-05-19 04:12:12 +1000
message:
Incremental push-pull notes.
modified:
doc/developers/incremental-push-pull.txt incrementalpushpull.-20070508045640-zneiu1yzbci574c6-1
=== modified file 'doc/developers/incremental-push-pull.txt'
--- a/doc/developers/incremental-push-pull.txt 2007-05-09 15:36:06 +0000
+++ b/doc/developers/incremental-push-pull.txt 2007-05-18 18:12:12 +0000
@@ -240,3 +240,33 @@
transmission method to reasonably closely match the desired write ordering
locally. This suggests that once we decide on the best local storage means we
should design the api.
+
+
+take N commits from A to B, if B is local then merge changes into the tree.
+copy ebough data to recreate snapshots
+avoid ending up wth corrupt/bad data
+
+setup
+look at graph of revisions for ~N comits to deretmine eligibility for
+ if preserve mainline is on, check LH only
+
+ identify objects to send that are not on the client repo
+ - revision - may be proportional to the graph
+ - inventory - proportional to work
+ - texts - proportional to work
+ - signatures - ???
+
+data transmission
+- send data proportional to the new information
+- validate the data [ validate the sha1 of the full text of each transmitted text.
+ validate the sha1:name mapping in each newly referenced ivnentory item.
+ validate the sha1 of the XML of each inventory against the revision. *** this is proportional to tree size and must be fixed
+ ]
+
+- write the data to the local repo.
+
+should output the file texts needed by the merge as by product of the transmission
+
+tree application
+combine the output from the transmission step with additional 'new work data' for anything already in the local repository that is new in this tree.
+should write new files and stat existing files proportional to the count of the new work and the size of the full texts.
More information about the bazaar-commits
mailing list