hgext/patchbomb.py
changeset 11183 b25464e9b448
parent 11150 f66ca4431eb9
child 11193 687c7d395f20
--- a/hgext/patchbomb.py	Sat May 15 21:24:23 2010 -0500
+++ b/hgext/patchbomb.py	Sun May 16 22:23:14 2010 +0900
@@ -450,7 +450,7 @@
         if opts.get('test'):
             ui.status(_('Displaying '), subj, ' ...\n')
             ui.flush()
-            if 'PAGER' in os.environ:
+            if 'PAGER' in os.environ and not ui.plain():
                 fp = util.popen(os.environ['PAGER'], 'w')
             else:
                 fp = ui