Show More
@@ -154,8 +154,10 b' class bundlerepository(localrepo.localre' | |||||
154 | def __init__(self, ui, path, bundlename): |
|
154 | def __init__(self, ui, path, bundlename): | |
155 | localrepo.localrepository.__init__(self, ui, path) |
|
155 | localrepo.localrepository.__init__(self, ui, path) | |
156 |
|
156 | |||
157 | self._url = 'bundle:' + bundlename |
|
157 | if path: | |
158 |
|
|
158 | self._url = 'bundle:' + path + '+' + bundlename | |
|
159 | else: | |||
|
160 | self._url = 'bundle:' + bundlename | |||
159 |
|
161 | |||
160 | self.tempfile = None |
|
162 | self.tempfile = None | |
161 | self.bundlefile = open(bundlename, "rb") |
|
163 | self.bundlefile = open(bundlename, "rb") |
@@ -129,7 +129,7 b' rolling back last transaction' | |||||
129 | ====== Log -R bundle:empty+full.hg |
|
129 | ====== Log -R bundle:empty+full.hg | |
130 | 8 7 6 5 4 3 2 1 0 |
|
130 | 8 7 6 5 4 3 2 1 0 | |
131 | ====== Pull full.hg into empty again (using -R; with hook) |
|
131 | ====== Pull full.hg into empty again (using -R; with hook) | |
132 |
changegroup hook: HG_NODE=5649c9d34dd87d0ecb5fd39672128376e83b22e1 HG_SOURCE=pull HG_URL=bundle:full.hg |
|
132 | changegroup hook: HG_NODE=5649c9d34dd87d0ecb5fd39672128376e83b22e1 HG_SOURCE=pull HG_URL=bundle:empty+full.hg | |
133 | pulling from full.hg |
|
133 | pulling from full.hg | |
134 | requesting all changes |
|
134 | requesting all changes | |
135 | adding changesets |
|
135 | adding changesets |
General Comments 0
You need to be logged in to leave comments.
Login now