Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 14363:82f3b0f3f0a5
localrepo, sshrepo: use Boolean create argument in __init__
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 18 May 2011 19:30:17 +0200 |
parents | 31a5973fcf96 |
children | a8e3931e3fb5 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed May 18 19:25:34 2011 +0200 +++ b/mercurial/localrepo.py Wed May 18 19:30:17 2011 +0200 @@ -25,7 +25,7 @@ supported = supportedformats | set(('store', 'fncache', 'shared', 'dotencode')) - def __init__(self, baseui, path=None, create=0): + def __init__(self, baseui, path=None, create=False): repo.repository.__init__(self) self.root = os.path.realpath(util.expandpath(path)) self.path = os.path.join(self.root, ".hg")