mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
b634a9e1ac
Summary: This replaces the `StdoutPrinter` class with a different `Output` class interface that combines both the `StdoutPrinter` functionality and the underlying I/O object being printed to. Previously the doctor code had to pass around two separate `out` and `printer` objects. This simplifies things so that only one object has to be passed around. This also adds some additional error checking around the curses initialization, and falls back to a plain output object if anything goes wrong during setup. Previously we had seen some reports of `eden doctor` failing due to errors in the terminal setup code. Reviewed By: strager Differential Revision: D8870494 fbshipit-source-id: a6dbafdde9aa5e1a0336fa7d723d83fa7d2426ca |
||
---|---|---|
.. | ||
test | ||
buck.py | ||
cmd_util.py | ||
config.py | ||
configinterpolator.py | ||
daemon.py | ||
debug.py | ||
doctor.py | ||
filesystem.py | ||
fsck.py | ||
main.py | ||
mtab.py | ||
overlay.py | ||
rage.py | ||
stats_print.py | ||
stats.py | ||
subcmd.py | ||
ui.py | ||
util.py | ||
version.py |