mercurial/chgserver.py
changeset 31954 e518192d6bac
parent 31700 d73490957d61
child 32248 d74b0cff94a9
--- a/mercurial/chgserver.py	Thu Apr 13 14:48:18 2017 -0400
+++ b/mercurial/chgserver.py	Thu Apr 13 08:27:19 2017 -0700
@@ -190,8 +190,8 @@
             self.flush()
             return self._csystem(cmd, util.shellenviron(environ), cwd)
 
-        def _runpager(self, cmd):
-            self._csystem(cmd, util.shellenviron(), type='pager',
+        def _runpager(self, cmd, env=None):
+            self._csystem(cmd, util.shellenviron(env), type='pager',
                           cmdtable={'attachio': attachio})
             return True