bzr questions

David Allouche david at allouche.net
Wed Sep 28 19:57:22 BST 2005


On Wed, 2005-09-28 at 12:22 -0400, Aaron Bentley wrote:
> Jordan Breeding wrote:
> 
> > Honestly, while I understand why it happens, and know that cvs also has
> > the problem I have always found the messages a little annoying.
> 
> Me too.  I think it's a case of programs trying to be overprotective, by
> warning the user that not all their output was consumed, so the results
> may not be what they expected.

I think it would make sense to squelch the error for observer commands
(like log) where he output is the only desired result.

For mutator commands like commit, branch, merge, etc. I think the
warning is definitely worthwile, but should probably be made a bit more
explicit, something like "Broken pipe, COMMAND did not complete. Maybe
you used "less" and quit without scrolling to the end.".

Extra points for only printing the warning only if the requested side
effect was not achieved. More extra points for buffering output in
mutator commands so that the side effect is achieved even if stdout or
stderr was broken.

My two cents.
-- 
                                                            -- ddaa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050928/89b67dd5/attachment.pgp 


More information about the bazaar mailing list