Mercurial > hg-stable
diff mercurial/bundle2.py @ 33856:057d31ceace3
pushvars: add a coreconfigitem for push.pushvars.server
Differential Revision: https://phab.mercurial-scm.org/D359
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 12 Aug 2017 04:47:40 +0530 |
parents | b3a41f4d837b |
children | 8d75b9effa07 |
line wrap: on
line diff
--- a/mercurial/bundle2.py Tue Jul 18 02:05:19 2017 -0700 +++ b/mercurial/bundle2.py Sat Aug 12 04:47:40 2017 +0530 @@ -1883,7 +1883,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()