Show More
@@ -479,7 +479,12 b' def instance(ui, path, create, intents=N' | |||
|
479 | 479 | repopath, bundlename = s |
|
480 | 480 | else: |
|
481 | 481 | repopath, bundlename = parentpath, path |
|
482 | return bundlerepository(ui, repopath, bundlename) | |
|
482 | ||
|
483 | return makebundlerepository(ui, repopath, bundlename) | |
|
484 | ||
|
485 | def makebundlerepository(ui, repopath, bundlepath): | |
|
486 | """Make a bundle repository object based on repo and bundle paths.""" | |
|
487 | return bundlerepository(ui, repopath, bundlepath) | |
|
483 | 488 | |
|
484 | 489 | class bundletransactionmanager(object): |
|
485 | 490 | def transaction(self): |
@@ -588,8 +593,10 b' def getremotechanges(ui, repo, peer, onl' | |||
|
588 | 593 | bundle = None |
|
589 | 594 | if not localrepo: |
|
590 | 595 | # use the created uncompressed bundlerepo |
|
591 |
localrepo = bundlerepo = bundlerepository(repo.baseui, |
|
|
592 |
|
|
|
596 | localrepo = bundlerepo = makebundlerepository(repo. baseui, | |
|
597 | repo.root, | |
|
598 | fname) | |
|
599 | ||
|
593 | 600 | # this repo contains local and peer now, so filter out local again |
|
594 | 601 | common = repo.heads() |
|
595 | 602 | if localrepo: |
General Comments 0
You need to be logged in to leave comments.
Login now