equal
deleted
inserted
replaced
1690 ) |
1690 ) |
1691 elif not bundletype.startswith(b'HG20'): |
1691 elif not bundletype.startswith(b'HG20'): |
1692 raise error.ProgrammingError(b'unknown bundle type: %s' % bundletype) |
1692 raise error.ProgrammingError(b'unknown bundle type: %s' % bundletype) |
1693 |
1693 |
1694 caps = {} |
1694 caps = {} |
1695 if b'obsolescence' in opts: |
1695 if opts.get(b'obsolescence', False): |
1696 caps[b'obsmarkers'] = (b'V1',) |
1696 caps[b'obsmarkers'] = (b'V1',) |
1697 bundle = bundle20(ui, caps) |
1697 bundle = bundle20(ui, caps) |
1698 bundle.setcompression(compression, compopts) |
1698 bundle.setcompression(compression, compopts) |
1699 _addpartsfromopts(ui, repo, bundle, source, outgoing, opts) |
1699 _addpartsfromopts(ui, repo, bundle, source, outgoing, opts) |
1700 chunkiter = bundle.getchunks() |
1700 chunkiter = bundle.getchunks() |