Show More
@@ -1377,9 +1377,11 b' def bundle(ui, repo, fname, dest=None, *' | |||||
1377 | bcompression = 'UN' |
|
1377 | bcompression = 'UN' | |
1378 | bversion = 'HG10' + bcompression |
|
1378 | bversion = 'HG10' + bcompression | |
1379 | bcompression = None |
|
1379 | bcompression = None | |
|
1380 | elif cgversion in ('02', '03'): | |||
|
1381 | bversion = 'HG20' | |||
1380 | else: |
|
1382 | else: | |
1381 | assert cgversion == '02' |
|
1383 | raise error.ProgrammingError( | |
1382 | bversion = 'HG20' |
|
1384 | 'bundle: unexpected changegroup version %s' % cgversion) | |
1383 |
|
1385 | |||
1384 | # TODO compression options should be derived from bundlespec parsing. |
|
1386 | # TODO compression options should be derived from bundlespec parsing. | |
1385 | # This is a temporary hack to allow adjusting bundle compression |
|
1387 | # This is a temporary hack to allow adjusting bundle compression |
General Comments 0
You need to be logged in to leave comments.
Login now