equal
deleted
inserted
replaced
1322 try: |
1322 try: |
1323 fname = opts["bundle"] |
1323 fname = opts["bundle"] |
1324 if fname or not other.local(): |
1324 if fname or not other.local(): |
1325 # create a bundle (uncompressed if other repo is not local) |
1325 # create a bundle (uncompressed if other repo is not local) |
1326 cg = other.changegroup(incoming, "incoming") |
1326 cg = other.changegroup(incoming, "incoming") |
1327 type = other.local() and "HG10BZ" or "HG10UN" |
1327 bundletype = other.local() and "HG10BZ" or "HG10UN" |
1328 fname = cleanup = changegroup.writebundle(cg, fname, type) |
1328 fname = cleanup = changegroup.writebundle(cg, fname, bundletype) |
1329 # keep written bundle? |
1329 # keep written bundle? |
1330 if opts["bundle"]: |
1330 if opts["bundle"]: |
1331 cleanup = None |
1331 cleanup = None |
1332 if not other.local(): |
1332 if not other.local(): |
1333 # use the created uncompressed bundlerepo |
1333 # use the created uncompressed bundlerepo |