Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bundlerepo.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 | 37e793918c07 |
children | 702a26fec3e2 |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Fri Jun 30 03:28:28 2017 +0200 +++ b/mercurial/bundlerepo.py Fri Jun 30 03:31:26 2017 +0200 @@ -414,7 +414,7 @@ if create: raise error.Abort(_('cannot create new bundle repository')) # internal config: bundle.mainreporoot - 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())