color: colorize based on output labels instead of parsing output
By overriding ui.write(), ui.write_err(), ui.popbuffer(), and ui.label(),
the color extension can avoid parsing command output and simply colorize
output based on labels.
As before, the color extension provides a list of default colors for
core commands/labels. Other extensions can provide their own defaults by
specifying a colortable dict (similar to cmdtable).
In this process, --color is promoted to a global option and the deprecated
--no-color option is removed.
abort: repository a not found!
255
abort: error: Connection refused
255
abort: repository a not found!
255
abort: Permission denied: ../a
255
abort: repository a not found!
255
destination directory: q
abort: destination 'q' is not empty
abort: destination 'a' is not empty
255
adding c
255
dir is still here
repo is gone