Mercurial > hg
changeset 11328:d357d147f0d4
pager: set ui.formatted() prior to redirecting stdout.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Mon, 07 Jun 2010 15:34:48 +0200 |
parents | 6c469f2f9f12 |
children | 390518de232e |
files | hgext/pager.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/pager.py Mon Jun 07 15:33:03 2010 +0200 +++ b/hgext/pager.py Mon Jun 07 15:34:48 2010 +0200 @@ -84,6 +84,7 @@ attend = ui.configlist('pager', 'attend', attended) if (cmd in attend or (cmd not in ui.configlist('pager', 'ignore') and not attend)): + ui.setconfig('ui', 'formatted', ui.formatted()) ui.setconfig('ui', 'interactive', False) _runpager(p) if ui.configbool('pager', 'quiet'):