Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/cmdutil.py @ 26532:1d1d0914cb76
parsebundletype: add a comment for future generation
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 01 Oct 2015 20:21:16 -0700 |
parents | 15ce78517d4b |
children | 3e61b325e79a |
comparison
equal
deleted
inserted
replaced
26531:15ce78517d4b | 26532:1d1d0914cb76 |
---|---|
3347 This is parsing user specified bundle type as accepted in: | 3347 This is parsing user specified bundle type as accepted in: |
3348 | 3348 |
3349 'hg bundle --type TYPE'. | 3349 'hg bundle --type TYPE'. |
3350 | 3350 |
3351 It accept format in the form [compression][-version]|[version] | 3351 It accept format in the form [compression][-version]|[version] |
3352 | |
3353 Consensus about extensions of the format for various bundle2 feature | |
3354 is to prefix any feature with "+". eg "+treemanifest" or "gzip+phases" | |
3352 """ | 3355 """ |
3353 comp, version = None, None | 3356 comp, version = None, None |
3354 | 3357 |
3355 if '-' in spec: | 3358 if '-' in spec: |
3356 comp, version = spec.split('-', 1) | 3359 comp, version = spec.split('-', 1) |