Comment 2 for bug 349532

Revision history for this message
Ingo Strüwing (ingo-struewing) wrote : Re: [Bug 349532] Re: bzr branch returns zero on error on Windows

Hi Martin,

Martin Pool, 22.06.2009 06:07:

> On Linux, a permission denied error in branch does give an exit code of
> 3 for me.

I confirm this.

However, I reported the problem for Windows. On Windows, I see the error
message, but the exit code is 0 anyway.

>
> Is this problem specific to bzr branch or do you get 0 if other commands
> fail? Try bzr diff?

Yes, it happens with bzr diff too.

In a Cygwin bash I used chmod a-r on some file. Then bzr diff on the
file. That produced the error, but the exit code was still 0.

Regards
Ingo
--
Ingo Strüwing, Database Group
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Häring HRB München 161028