hgext/pager.py
changeset 11414 0fa4474bdc2f
parent 11328 d357d147f0d4
child 12083 ebfc46929f3e
--- a/hgext/pager.py	Wed Jun 16 00:37:21 2010 +0200
+++ b/hgext/pager.py	Sun Jun 20 01:20:12 2010 +0900
@@ -78,6 +78,9 @@
             raise
 
 def uisetup(ui):
+    if ui.plain():
+        return
+
     def pagecmd(orig, ui, options, cmd, cmdfunc):
         p = ui.config("pager", "pager", os.environ.get("PAGER"))
         if p and sys.stdout.isatty() and '--debugger' not in sys.argv: