( )⚙ D4567 localrepo: check for .hg/ directory in makelocalrepository()

This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: check for .hg/ directory in makelocalrepository()
ClosedPublic

Authored by indygreg on Sep 13 2018, 12:29 PM.

Details

Summary

As part of this, we move the check to before .hg/hgrc is loaded,
as it makes sense to check for the directory before attempting to
open a file in it.

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.