equal
deleted
inserted
replaced
594 The implementation is at a very early stage and will get massive rework |
594 The implementation is at a very early stage and will get massive rework |
595 when the API of bundle is refined. |
595 when the API of bundle is refined. |
596 """ |
596 """ |
597 # build bundle here. |
597 # build bundle here. |
598 cg = changegroup.getbundle(repo, source, heads=heads, |
598 cg = changegroup.getbundle(repo, source, heads=heads, |
599 common=common, bundlecaps=None) |
599 common=common, bundlecaps=bundlecaps) |
600 if bundlecaps is None or 'HG20' not in bundlecaps: |
600 if bundlecaps is None or 'HG20' not in bundlecaps: |
601 return cg |
601 return cg |
602 # very crude first implementation, |
602 # very crude first implementation, |
603 # the bundle API will change and the generation will be done lazily. |
603 # the bundle API will change and the generation will be done lazily. |
604 bundler = bundle2.bundle20(repo.ui) |
604 bundler = bundle2.bundle20(repo.ui) |