localrepo: check for .hg/ directory in makelocalrepository()...
localrepo: check for .hg/ directory in makelocalrepository()
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.
Differential Revision:
https://phab.mercurial-scm.org/D4567