[MERGE] Consistently write to self.outf in cmd_push().

Aaron Bentley aaron at aaronbentley.com
Tue Feb 3 17:12:22 GMT 2009


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

Jelmer Vernooij wrote:
> Right now, bzr push will write status messages to to /dev/stdout when
> it's updating an existing branch and write status messages
> to /dev/stderr when it has created a new branch. 
> 
> The attached patch makes it consistently write to stdout.

I don't think that's the right fix.  Push's main function is to update a
branch or working tree.  All its output is therefore incidental and
should go to stderr.

Only command whose main purpose is to produce output (diff, status,
etc.) should be writing to stdout.

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

iEYEARECAAYFAkmIevIACgkQ0F+nu1YWqI3t6QCfYlU8Zd8iMKEFnG1XiV1kVn0T
ODsAnitic4TyfjF3atwjzRHBbMbzNZOz
=KWyZ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list