Show More
@@ -295,7 +295,8 b' def getremotechanges(ui, repo, other, on' | |||||
295 | "onlyheads" restricts the returned changes to those reachable from the |
|
295 | "onlyheads" restricts the returned changes to those reachable from the | |
296 | specified heads. |
|
296 | specified heads. | |
297 | "bundlename", if given, stores the bundle to this file path permanently; |
|
297 | "bundlename", if given, stores the bundle to this file path permanently; | |
298 | the returned "bundle" will be None. |
|
298 | otherwise it's stored to a temp file and gets deleted again when you call | |
|
299 | the returned "cleanupfn". | |||
299 | "force" indicates whether to proceed on unrelated repos. |
|
300 | "force" indicates whether to proceed on unrelated repos. | |
300 |
|
301 | |||
301 | Returns a tuple (local, csets, cleanupfn): |
|
302 | Returns a tuple (local, csets, cleanupfn): | |
@@ -348,7 +349,7 b' def getremotechanges(ui, repo, other, on' | |||||
348 | bundlerepo.close() |
|
349 | bundlerepo.close() | |
349 | if bundle: |
|
350 | if bundle: | |
350 | os.unlink(bundle) |
|
351 | os.unlink(bundle) | |
351 |
|
|
352 | other.close() | |
352 |
|
353 | |||
353 | return (localrepo, csets, cleanup) |
|
354 | return (localrepo, csets, cleanup) | |
354 |
|
355 |
General Comments 0
You need to be logged in to leave comments.
Login now