sapling/eden/scm/lib/io
Jun Wu b499dd8133 io: do not redirect stderr to pager if it is not a tty
Summary:
In case the stderr is redirected but stdout is not:

  EDENSCM_LOG=edenscm::mercurial=trace lhg log archival.py 2>/tmp/1
  cat /tmp/1

The expected behavior is to still use the pager for stdout output, and the
stderr should be redirected to the specified file.

Reviewed By: andll

Differential Revision: D27867884

fbshipit-source-id: c369bc6be40fc200c4c0e2c9bb38b5faeb1208f2
2021-04-21 09:41:31 -07:00
..
src io: do not redirect stderr to pager if it is not a tty 2021-04-21 09:41:31 -07:00
Cargo.toml io: configparser::ConfigSet -> configmodel::Config 2021-04-12 14:29:45 -07:00