# HG changeset patch # User Marcin Kuzminski # Date 2018-01-23 21:37:28 # Node ID 2a24bd1cfd2c5595e0e193c4fb7fd9ab3862f554 # Parent b25f7b7c8316fe5b51b93cef1318856fa4b82961 mercurial: expose HGUSER into environ becuase some extensions explicitly rely on this. - makes it clear it's used for Mercurial extensions. diff --git a/vcsserver/http_main.py b/vcsserver/http_main.py --- a/vcsserver/http_main.py +++ b/vcsserver/http_main.py @@ -331,6 +331,8 @@ class HTTPApplication(object): username = dict_conf.get('username') if username: environ['REMOTE_USER'] = username + # mercurial specific, some extension api rely on this + environ['HGUSER'] = username ip = dict_conf.get('ip') if ip: