Mercurial > hg-stable
diff contrib/debugshell.py @ 39606: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 | 46ba2cdda476 |
children | aaad36b88298 |