Show More
@@ -57,7 +57,7 b' def openstore(repo=None, remote=None, pu' | |||||
57 |
|
57 | |||
58 | # The path could be a scheme so use Mercurial's normal functionality |
|
58 | # The path could be a scheme so use Mercurial's normal functionality | |
59 | # to resolve the scheme to a repository and use its path |
|
59 | # to resolve the scheme to a repository and use its path | |
60 |
path = util.safehasattr(remote, |
|
60 | path = util.safehasattr(remote, 'url') and remote.url() or remote.path | |
61 |
|
61 | |||
62 | match = _scheme_re.match(path) |
|
62 | match = _scheme_re.match(path) | |
63 | if not match: # regular filesystem path |
|
63 | if not match: # regular filesystem path |
General Comments 0
You need to be logged in to leave comments.
Login now