##// END OF EJS Templates
patchbomb: respect HGPLAIN when piping --test output to PAGER...
Yuya Nishihara -
r11183:b25464e9 default
parent child Browse files
Show More
@@ -450,7 +450,7 def patchbomb(ui, repo, *revs, **opts):
450 if opts.get('test'):
450 if opts.get('test'):
451 ui.status(_('Displaying '), subj, ' ...\n')
451 ui.status(_('Displaying '), subj, ' ...\n')
452 ui.flush()
452 ui.flush()
453 if 'PAGER' in os.environ:
453 if 'PAGER' in os.environ and not ui.plain():
454 fp = util.popen(os.environ['PAGER'], 'w')
454 fp = util.popen(os.environ['PAGER'], 'w')
455 else:
455 else:
456 fp = ui
456 fp = ui
General Comments 0
You need to be logged in to leave comments. Login now