##// END OF EJS Templates
bundle: use bundle2 if repository uses general delta...
Pierre-Yves David -
r26533:3e61b325 default
parent child Browse files
Show More
@@ -3374,6 +3374,8 b' def parsebundletype(repo, spec):'
3374
3374
3375 if version is None:
3375 if version is None:
3376 version = '01'
3376 version = '01'
3377 if 'generaldelta' in repo.requirements:
3378 version = '02'
3377 else:
3379 else:
3378 try:
3380 try:
3379 version = _bundleversionspecs[version]
3381 version = _bundleversionspecs[version]
@@ -1223,7 +1223,7 b' def bundle(ui, repo, fname, dest=None, *'
1223 specify a compression, a bundle version or both using a dash
1223 specify a compression, a bundle version or both using a dash
1224 (comp-version). The available compression methods are: none, bzip2,
1224 (comp-version). The available compression methods are: none, bzip2,
1225 and gzip (by default, bundles are compressed using bzip2). The
1225 and gzip (by default, bundles are compressed using bzip2). The
1226 available format are: v1, v2 (default to v1).
1226 available format are: v1, v2 (default to most suitable).
1227
1227
1228 The bundle file can then be transferred using conventional means
1228 The bundle file can then be transferred using conventional means
1229 and applied to another repository with the unbundle or pull
1229 and applied to another repository with the unbundle or pull
General Comments 0
You need to be logged in to leave comments. Login now