Show More
@@ -16,6 +16,7 b' from i18n import _' | |||||
16 | import os, tempfile, shutil |
|
16 | import os, tempfile, shutil | |
17 | import changegroup, util, mdiff, discovery, cmdutil, scmutil, exchange |
|
17 | import changegroup, util, mdiff, discovery, cmdutil, scmutil, exchange | |
18 | import localrepo, changelog, manifest, filelog, revlog, error, phases, bundle2 |
|
18 | import localrepo, changelog, manifest, filelog, revlog, error, phases, bundle2 | |
|
19 | import pathutil | |||
19 |
|
20 | |||
20 | class bundlerevlog(revlog.revlog): |
|
21 | class bundlerevlog(revlog.revlog): | |
21 | def __init__(self, opener, indexfile, bundle, linkmapper): |
|
22 | def __init__(self, opener, indexfile, bundle, linkmapper): | |
@@ -352,7 +353,7 b' def instance(ui, path, create):' | |||||
352 | if parentpath == cwd: |
|
353 | if parentpath == cwd: | |
353 | parentpath = '' |
|
354 | parentpath = '' | |
354 | else: |
|
355 | else: | |
355 |
cwd = |
|
356 | cwd = pathutil.normasprefix(cwd) | |
356 | if parentpath.startswith(cwd): |
|
357 | if parentpath.startswith(cwd): | |
357 | parentpath = parentpath[len(cwd):] |
|
358 | parentpath = parentpath[len(cwd):] | |
358 | u = util.url(path) |
|
359 | u = util.url(path) |
General Comments 0
You need to be logged in to leave comments.
Login now