Skip to content
Snippets Groups Projects
Commit 2d2bbf3f3e09 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

bundlerepo: pass create=True

I don't want to know how this came to be. Maybe a holdover from the
days before Python had a bool type?

Differential Revision: https://phab.mercurial-scm.org/D4553
parent 84d6e9a2b104
No related branches found
No related tags found
No related merge requests found
......@@ -270,7 +270,7 @@
localrepo.localrepository.__init__(self, ui, repopath)
except error.RepoError:
self._tempparent = pycompat.mkdtemp()
localrepo.instance(ui, self._tempparent, 1)
localrepo.instance(ui, self._tempparent, create=True)
localrepo.localrepository.__init__(self, ui, self._tempparent)
self.ui.setconfig('phases', 'publish', False, 'bundlerepo')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment