##// END OF EJS Templates
pager: set ui.interactive=False when enabled...
Brodie Rao -
r10516:80a1161b stable
parent child Browse files
Show More
@@ -59,6 +59,7 b' def uisetup(ui):'
59 attend = ui.configlist('pager', 'attend', attended)
59 attend = ui.configlist('pager', 'attend', attended)
60 if (cmd in attend or
60 if (cmd in attend or
61 (cmd not in ui.configlist('pager', 'ignore') and not attend)):
61 (cmd not in ui.configlist('pager', 'ignore') and not attend)):
62 ui.setconfig('ui', 'interactive', False)
62 sys.stderr = sys.stdout = util.popen(p, "wb")
63 sys.stderr = sys.stdout = util.popen(p, "wb")
63 if ui.configbool('pager', 'quiet'):
64 if ui.configbool('pager', 'quiet'):
64 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
65 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
General Comments 0
You need to be logged in to leave comments. Login now