pager: set ui.interactive=False when enabled
This stops interactive-only things like progress bars from showing up
inside the pager.
--- a/hgext/pager.py Fri Feb 19 20:34:23 2010 -0500
+++ b/hgext/pager.py Fri Feb 19 22:16:42 2010 -0500
@@ -59,6 +59,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', 'interactive', False)
sys.stderr = sys.stdout = util.popen(p, "wb")
if ui.configbool('pager', 'quiet'):
signal.signal(signal.SIGPIPE, signal.SIG_DFL)