equal
deleted
inserted
replaced
295 'a known bundlespec') % version, |
295 'a known bundlespec') % version, |
296 hint=_('try upgrading your Mercurial ' |
296 hint=_('try upgrading your Mercurial ' |
297 'client')) |
297 'client')) |
298 elif part.type == 'stream2' and version is None: |
298 elif part.type == 'stream2' and version is None: |
299 # A stream2 part requires to be part of a v2 bundle |
299 # A stream2 part requires to be part of a v2 bundle |
300 version = "v2" |
|
301 requirements = urlreq.unquote(part.params['requirements']) |
300 requirements = urlreq.unquote(part.params['requirements']) |
302 splitted = requirements.split() |
301 splitted = requirements.split() |
303 params = bundle2._formatrequirementsparams(splitted) |
302 params = bundle2._formatrequirementsparams(splitted) |
304 return 'none-v2;stream=v2;%s' % params |
303 return 'none-v2;stream=v2;%s' % params |
305 |
304 |