##// END OF EJS Templates
pager: respect HGPLAIN...
Yuya Nishihara -
r11414:0fa4474b default
parent child Browse files
Show More
@@ -78,6 +78,9 b' def _runpager(p):'
78 raise
78 raise
79
79
80 def uisetup(ui):
80 def uisetup(ui):
81 if ui.plain():
82 return
83
81 def pagecmd(orig, ui, options, cmd, cmdfunc):
84 def pagecmd(orig, ui, options, cmd, cmdfunc):
82 p = ui.config("pager", "pager", os.environ.get("PAGER"))
85 p = ui.config("pager", "pager", os.environ.get("PAGER"))
83 if p and sys.stdout.isatty() and '--debugger' not in sys.argv:
86 if p and sys.stdout.isatty() and '--debugger' not in sys.argv:
General Comments 0
You need to be logged in to leave comments. Login now