Mercurial > hg
comparison mercurial/setdiscovery.py @ 39590:e471cb2852ea
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
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 12 Sep 2018 08:41:00 -0700 |
parents | 274acf379dbb |
children | 71b0db4fa027 |
comparison
equal
deleted
inserted
replaced
39589:4eb0f2452ad7 | 39590:e471cb2852ea |
---|