-----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-----
-----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 enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFGQORS0F+ nu1YWqI0RAqfiAJ 9Ryq/GPczRNdYXI 7zTvv+w2DQVygCe KD0o AcZOovLA=
erMpLehspBqzfYB
=aEcB
-----END PGP SIGNATURE-----