Comment 2 for bug 112390

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 112390] Re: kind marker in status should be optional and or check isatty()

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:

> Switching on isatty can be confusing for people trying to write scripts
> so we're a bit reluctant to make that the only way to control things.

It is worse than that. isatty does not indicate whether the results are
being used interactively.

"bzr status" and "bzr status | less" should have the same output format,
but isatty will return False in the second case.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGQORS0F+nu1YWqI0RAqfiAJ9Ryq/GPczRNdYXI7zTvv+w2DQVygCeKD0o
erMpLehspBqzfYBAcZOovLA=
=aEcB
-----END PGP SIGNATURE-----