Mercurial > public > mercurial-scm > hg
diff hgext/pager.py @ 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 | 258c98567aff |
children | 0fa4474bdc2f |
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'):