[bug] commands output inconsistence
Alexander Belchenko
bialix at ukr.net
Wed Jul 26 11:56:51 BST 2006
Alexander Belchenko пишет:
> If redirect output of different commands to a file via '>' then I could
> see that some commands print their output to stderr not to stdout.
>
> Let's see:
>
> $ bzr mkdir dir > out ===> output normally redirected to out
>
> $ bzr st > out ===> output normally redirected to out
>
> $ bzr ci -m initial > out ===> out file is empty and output prints on
> the screen:
> added dir
> Committed revision 1.
>
> $ bzr branch a b > out ===> out file is empty and output prints on the
> screen:
> Branched 1 revision(s).
>
> $ bzr merge ../b > out ===> out file is empty and output prints on the
> screen:
> All changes applied successfully.
>
>
> I think this bug appears because of progress bar. But anyway it's a bug
> for me.
And because stderr is utf-8 encoded but stdout has console default
encodings then on non-ascii filenames there is different output. Per
example, for me output of commit with russian filenames in it is
unreadable, because my console is cp866 not utf-8.
--
Alexander
More information about the bazaar
mailing list