[MERGE] Implement --output for diff and cat, added -o as an alias.

Martin Pool mbp at canonical.com
Mon Aug 7 11:29:47 BST 2006


On  7 Aug 2006, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
> Hi,
> 
> I've filed a bug, but it might be worth pinging the list too:
> 
> https://launchpad.net/products/bzr/+bug/55414
> 
> Branch:
> http://www-verimag.imag.fr/~moy/bzr/bzr/bzr.output-option/
> 
> 1908: Matthieu Moy 2006-08-06 output as a global option, -o as a short alias
> 1909: Matthieu Moy 2006-08-06 diff -o FILE implemented
> 1910: Matthieu Moy 2006-08-06 Implemented -o for "bzr cat"
> 1911: Matthieu Moy 2006-08-06 fixed import statements

Thanks for the contribution.  Can you say a bit more about why adding
the option is justified?  It seems like it's two things:

1. Using -o FILE avoids encoding problems caused by sending binaries to
stdout on Windows.  But I thought John's approach of marking commands
with the encoding semantics would avoid that?

2. Having a -o option is just useful sometimes?

Is there a particular case where you wanted it?

-- 
Martin




More information about the bazaar mailing list