builtins: self.outf.write vs trace.note

Gordon Tyler gordon at doxxx.net
Fri Nov 13 01:57:07 GMT 2009

On 11/12/2009 8:43 PM, Aaron Bentley wrote:
> trace.note and self.outf.write are both appropriate, depending on
> context.  Output about the process of executing the command, e.g. "using
> saved branch location" should be written using trace.note, and where
> it's not, patches are welcome.  Output which is the primary
> functionality of a command, such as the output of "bzr diff" should be
> written using self.outf, and this should not be changed.

Gotcha. I'll keep that in mind.


More information about the bazaar mailing list