##// END OF EJS Templates
bundlerepo: indent some code to prepare next patch...
Pierre-Yves David -
r26543:a018cbab default
parent child Browse files
Show More
@@ -455,6 +455,7 def getremotechanges(ui, repo, other, on
455 455 if bundlename or not localrepo:
456 456 # create a bundle (uncompressed if other repo is not local)
457 457
458 if True:
458 459 if other.capable('getbundle'):
459 460 cg = other.getbundle('incoming', common=common, heads=rheads)
460 461 elif onlyheads is None and not other.capable('changegroupsubset'):
@@ -467,7 +468,8 def getremotechanges(ui, repo, other, on
467 468 bundletype = "HG10BZ"
468 469 else:
469 470 bundletype = "HG10UN"
470 fname = bundle = changegroup.writebundle(ui, cg, bundlename, bundletype)
471 fname = bundle = changegroup.writebundle(ui, cg, bundlename,
472 bundletype)
471 473 # keep written bundle?
472 474 if bundlename:
473 475 bundle = None
General Comments 0
You need to be logged in to leave comments. Login now