[MERGE] Added ability to pass output file object to cmd_send.
John Arbash Meinel
john at arbash-meinel.com
Mon Feb 4 19:23:19 GMT 2008
Monty Taylor wrote:
> Here's a really small one that lets you pass in a file-like object to
> cmd_send. This can be helpful for writing plugins that would like to
> call cmd_send and intercept the output and use it for something else.
>
BB:resubmit
I agree with Robert that this should be done at a different level. I
generally think re-using cmd_foo for anything but inheriting and
overriding means there is too much stuff in the command class, which
should be in helper functions.
John
=:->
More information about the bazaar
mailing list