##// END OF EJS Templates
bundle: add optional 'tagsfnodecache' data to on disk bundle (issue5543)...
marmoute -
r32218:d7f93ebb default
parent child Browse files
Show More
@@ -1375,6 +1375,8 b' def _addpartsfromopts(ui, repo, bundler,'
1375 part.addparam('nbchanges', str(cg.extras['clcount']),
1375 part.addparam('nbchanges', str(cg.extras['clcount']),
1376 mandatory=False)
1376 mandatory=False)
1377
1377
1378 addparttagsfnodescache(repo, bundler, outgoing)
1379
1378 def addparttagsfnodescache(repo, bundler, outgoing):
1380 def addparttagsfnodescache(repo, bundler, outgoing):
1379 # we include the tags fnode cache for the bundle changeset
1381 # we include the tags fnode cache for the bundle changeset
1380 # (as an optional parts)
1382 # (as an optional parts)
@@ -716,3 +716,15 b' Running hg tags should produce tags2* fi'
716 0040: ff ff ff ff ff ff ff ff 40 f0 35 8c 19 e0 a7 d3 |........@.5.....|
716 0040: ff ff ff ff ff ff ff ff 40 f0 35 8c 19 e0 a7 d3 |........@.5.....|
717 0050: 8a 5c 6a 82 4d cf fb a5 87 d0 2f a3 1e 4f 2f 8a |.\j.M...../..O/.|
717 0050: 8a 5c 6a 82 4d cf fb a5 87 d0 2f a3 1e 4f 2f 8a |.\j.M...../..O/.|
718
718
719 Check that the bundle includes cache data
720
721 $ hg -R tagsclient bundle --all ./test-cache-in-bundle-all-rev.hg
722 4 changesets found
723 $ hg debugbundle ./test-cache-in-bundle-all-rev.hg
724 Stream params: sortdict([('Compression', 'BZ')])
725 changegroup -- "sortdict([('version', '02'), ('nbchanges', '4')])"
726 96ee1d7354c4ad7372047672c36a1f561e3a6a4c
727 c4dab0c2fd337eb9191f80c3024830a4889a8f34
728 f63cc8fe54e4d326f8d692805d70e092f851ddb1
729 40f0358cb314c824a5929ee527308d90e023bc10
730 hgtagsfnodes -- 'sortdict()'
General Comments 0
You need to be logged in to leave comments. Login now