changeset 30635 | a150173da1c1 |
parent 30473 | 39d13b8c101d |
child 30722 | 117e15c30e6c |
--- a/hgext/pager.py Sun Dec 18 01:34:41 2016 +0530 +++ b/hgext/pager.py Sun Dec 18 01:46:39 2016 +0530 @@ -71,6 +71,7 @@ cmdutil, commands, dispatch, + encoding, extensions, util, ) @@ -123,7 +124,7 @@ return def pagecmd(orig, ui, options, cmd, cmdfunc): - p = ui.config("pager", "pager", os.environ.get("PAGER")) + p = ui.config("pager", "pager", encoding.environ.get("PAGER")) usepager = False always = util.parsebool(options['pager']) auto = options['pager'] == 'auto'