Show More
@@ -455,6 +455,7 def getremotechanges(ui, repo, other, on | |||||
455 | if bundlename or not localrepo: |
|
455 | if bundlename or not localrepo: | |
456 | # create a bundle (uncompressed if other repo is not local) |
|
456 | # create a bundle (uncompressed if other repo is not local) | |
457 |
|
457 | |||
|
458 | if True: | |||
458 | if other.capable('getbundle'): |
|
459 | if other.capable('getbundle'): | |
459 | cg = other.getbundle('incoming', common=common, heads=rheads) |
|
460 | cg = other.getbundle('incoming', common=common, heads=rheads) | |
460 | elif onlyheads is None and not other.capable('changegroupsubset'): |
|
461 | elif onlyheads is None and not other.capable('changegroupsubset'): | |
@@ -467,7 +468,8 def getremotechanges(ui, repo, other, on | |||||
467 | bundletype = "HG10BZ" |
|
468 | bundletype = "HG10BZ" | |
468 | else: |
|
469 | else: | |
469 | bundletype = "HG10UN" |
|
470 | bundletype = "HG10UN" | |
470 |
fname = bundle = changegroup.writebundle(ui, cg, bundlename, |
|
471 | fname = bundle = changegroup.writebundle(ui, cg, bundlename, | |
|
472 | bundletype) | |||
471 | # keep written bundle? |
|
473 | # keep written bundle? | |
472 | if bundlename: |
|
474 | if bundlename: | |
473 | bundle = None |
|
475 | bundle = None |
General Comments 0
You need to be logged in to leave comments.
Login now