Skip to content

Passing some of ui.environ to external hook environ

What this really does is make ui.system() pass the HEPTAPOD_* environment variables to the resulting subprocess.

Since ui.environ is used as a WSGI request-local substitute to the (process-wide) environ, the question whether it should be always fully forwarded will have to be raised in Mercurial upstream.

In the meanwhile, Heptapod will pass its variables to external hooks. Closes: heptapod#72 (closed)

Edited by Georges Racinet

Merge request reports