This revision was automatically updated to reflect the committed changes. Closed by commit rHG76b58f240821: localrepo: use urllocalpath() for path to create repo too (authored by martinvonz, committed by ).
REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4550?vs=10978&id=10982 REVISION DETAIL https://phab.mercurial-scm.org/D4550 AFFECTED FILES mercurial/localrepo.py CHANGE DETAILS diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -2377,10 +2377,11 @@ return os.path.join(base, name.replace('journal', 'undo', 1)) def instance(ui, path, create, intents=None, createopts=None): + localpath = util.urllocalpath(path) if create: - createrepository(ui, path, createopts=createopts) + createrepository(ui, localpath, createopts=createopts) - return localrepository(ui, util.urllocalpath(path), intents=intents) + return localrepository(ui, localpath, intents=intents) def islocal(path): return True To: martinvonz, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel