Mercurial > public > mercurial-scm > hg-stable
diff mercurial/unionrepo.py @ 33184:634997248c97
configitems: register the 'bundle.mainreporoot' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:31:26 +0200 |
parents | f1e0446e804c |
children | 21fc747e1bc5 |
line wrap: on
line diff
--- a/mercurial/unionrepo.py Fri Jun 30 03:28:28 2017 +0200 +++ b/mercurial/unionrepo.py Fri Jun 30 03:31:26 2017 +0200 @@ -232,7 +232,7 @@ def instance(ui, path, create): if create: raise error.Abort(_('cannot create new union repository')) - parentpath = ui.config("bundle", "mainreporoot", "") + parentpath = ui.config("bundle", "mainreporoot") if not parentpath: # try to find the correct path to the working directory repo parentpath = cmdutil.findrepo(pycompat.getcwd())