Mercurial > hg
comparison hgweb.cgi @ 33693:db3dc11356ed
pushvars: move fb extension pushvars to core
pushvars extension in fbext adds a --pushvars flag to push command using which
one send strings to server which becomes environment variables there prepended
with HG_USERVAR_. These variables can then be used to run hooks on the server.
The extension is moved directly to core and unbundling of the strings and
converting them to environment variables at server is disabled by default for
security reasons. One can turn that on by following config:
[push]
pushvars.server = true
This patch also adds the test for the extension.
Differential Revision: https://phab.mercurial-scm.org/D210
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 31 Jul 2017 09:59:42 +0530 |
parents | 4b0fc75f9403 |
children | 47ef023d0165 |
comparison
equal
deleted
inserted
replaced
33692:f100354cce52 | 33693:db3dc11356ed |
---|