equal
deleted
inserted
replaced
190 b'must be prefixed with compression: %s' |
190 b'must be prefixed with compression: %s' |
191 ) |
191 ) |
192 % spec |
192 % spec |
193 ) |
193 ) |
194 |
194 |
195 if b'-' in spec: |
195 pre_args = spec.split(b';', 1)[0] |
|
196 if b'-' in pre_args: |
196 compression, version = spec.split(b'-', 1) |
197 compression, version = spec.split(b'-', 1) |
197 |
198 |
198 if compression not in util.compengines.supportedbundlenames: |
199 if compression not in util.compengines.supportedbundlenames: |
199 raise error.UnsupportedBundleSpecification( |
200 raise error.UnsupportedBundleSpecification( |
200 _(b'%s compression is not supported') % compression |
201 _(b'%s compression is not supported') % compression |