##// END OF EJS Templates
revlogv2: make sure bundling pick a compatible bundle format...
marmoute -
r48133:dc380056 default
parent child Browse files
Show More
@@ -167,6 +167,8 b' def parsebundlespec(repo, spec, strict=T'
167 # Generaldelta repos require v2.
167 # Generaldelta repos require v2.
168 if requirementsmod.GENERALDELTA_REQUIREMENT in repo.requirements:
168 if requirementsmod.GENERALDELTA_REQUIREMENT in repo.requirements:
169 version = b'v2'
169 version = b'v2'
170 elif requirementsmod.REVLOGV2_REQUIREMENT in repo.requirements:
171 version = b'v2'
170 # Modern compression engines require v2.
172 # Modern compression engines require v2.
171 if compression not in _bundlespecv1compengines:
173 if compression not in _bundlespecv1compengines:
172 version = b'v2'
174 version = b'v2'
@@ -69,6 +69,14 b' Header written as expected'
69 .hg/store/data/foo.i:
69 .hg/store/data/foo.i:
70 0000: 00 00 de ad |....|
70 0000: 00 00 de ad |....|
71
71
72 Bundle use a compatible changegroup format
73 ------------------------------------------
74
75 $ hg bundle --all ../basic.hg
76 1 changesets found
77 $ hg debugbundle --spec ../basic.hg
78 bzip2-v2
79
72 The expected files are generated
80 The expected files are generated
73 --------------------------------
81 --------------------------------
74
82
General Comments 0
You need to be logged in to leave comments. Login now