Show More
@@ -405,7 +405,7 b' class hgsubrepo(abstractsubrepo):' | |||
|
405 | 405 | super(hgsubrepo, self).__init__(ctx, path) |
|
406 | 406 | self._state = state |
|
407 | 407 | r = ctx.repo() |
|
408 | root = r.wjoin(path) | |
|
408 | root = r.wjoin(util.localpath(path)) | |
|
409 | 409 | create = allowcreate and not r.wvfs.exists('%s/.hg' % path) |
|
410 | 410 | # repository constructor does expand variables in path, which is |
|
411 | 411 | # unsafe since subrepo path might come from untrusted source. |
General Comments 0
You need to be logged in to leave comments.
Login now