pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D359 AFFECTED FILES mercurial/bundle2.py mercurial/configitems.py CHANGE DETAILS diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -370,6 +370,9 @@ coreconfigitem('progress', 'width', default=dynamicdefault, ) +coreconfigitem('push', 'pushvars.server', + default=False, +) coreconfigitem('server', 'bundle1', default=True, ) diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -1884,7 +1884,7 @@ def bundle2getvars(op, part): '''unbundle a bundle2 containing shellvars on the server''' # An option to disable unbundling on server-side for security reasons - if op.ui.configbool('push', 'pushvars.server', False): + if op.ui.configbool('push', 'pushvars.server'): hookargs = {} for key, value in part.advisoryparams: key = key.upper() To: pulkit, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel