[bug] commands output inconsistence
Alexander Belchenko
bialix at ukr.net
Wed Jul 26 15:00:31 BST 2006
Aaron Bentley пишет:
> Alexander Belchenko wrote:
>>If I understand correctly there is several types of bzr output:
>>
>>- errors and warnings messages
>>- progress bar (each command could potentially has progress bar)
>>- informational output
>
>
> No, it's more like:
> - - errors and warnings
> - - progress
> - - primary output
> - - secondary output
>
> The purpose of some commands is to produce output. Examples: 'bzr ls',
> 'bzr status'. They can produce primary output, and they can produce
> secondary output.
>
> The purpose of other commands is to perform an action. Examples: 'bzr
> commit', 'bzr merge'. These commands should only produce secondary output.
>
> Only primary output is sent to stdout. All other output is sent to stderr.
I understand. Thanks for explanation.
>>I simply wanted to have ability easy redirect output of commands to
>>file. It could be useful for creating examples for documentation or for
>>preparing bug reports.
>
>
> There ought to be an easy way to redirect stderr on Windows. There
> certainly is on *nix.
Yes, it is. John already show how to do this correctly.
More information about the bazaar
mailing list