Mercurial > hg > mercurial-source
changeset 34005:593ad8df9dd2
configitems: register the 'server.concurrent-push-mode' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:44:09 +0200 |
parents | 4237398c67c0 |
children | d227451ee280 |
files | mercurial/bundle2.py mercurial/configitems.py |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -1343,7 +1343,7 @@ caps['obsmarkers'] = supportedformat if allowpushback: caps['pushback'] = () - cpmode = repo.ui.config('server', 'concurrent-push-mode', 'strict') + cpmode = repo.ui.config('server', 'concurrent-push-mode') if cpmode == 'check-related': caps['checkheads'] = ('related',) return caps