Submitter | Pierre-Yves David |
---|---|
Date | Oct. 7, 2015, 6:54 p.m. |
Message ID | <b40e70b120ce89870fc0.1444244077@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/10860/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -3347,10 +3347,13 @@ def parsebundletype(repo, spec): This is parsing user specified bundle type as accepted in: 'hg bundle --type TYPE'. It accept format in the form [compression][-version]|[version] + + Consensus about extensions of the format for various bundle2 feature + is to prefix any feature with "+". eg "+treemanifest" or "gzip+phases" """ comp, version = None, None if '-' in spec: comp, version = spec.split('-', 1)