This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: use urllocalpath() for path to create repo too
ClosedPublic

Authored by martinvonz on Sep 12 2018, 3:23 PM.

Details

Summary

It looks like this was lost in 7ce9dea3a14a (localrepo: move repo
creation logic out of localrepository.init (API), 2018-09-11). I
don't know when it makes a difference (maybe on Windows, since
urllocalpath() mentions something about drive letters).

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Sep 12 2018, 3:23 PM
martinvonz updated this revision to Diff 10978.Sep 12 2018, 5:50 PM
This revision was automatically updated to reflect the committed changes.