localrepo: move check for existing repo into createrepository()...
localrepo: move check for existing repo into createrepository()
For symmetry with the check for existence of a repo in
localrepository.__init__, we should check for the non-existence in
createrepository(). We could alternatively move both checks into
instance().
Differential Revision:
https://phab.mercurial-scm.org/D4549