...
>> cat Test.cmd
> @echo off
> bzr pull FOO
> ECHO ERRORLEVEL = %ERRORLEVEL%
>
>> Test.cmd
> bzr: ERROR: Not a branch: "E:/Dev/PhiLhoSoft/Lua/FOO/".
> ERRORLEVEL = 3
Found it: I had /usr/local/bin/bzr (Cygwin notation). I contained:
python C:/Python25/Scripts/bzr "$@" |tr -d '\r'
That is, it tried to get rid of carriage return in the output from bzr.
I use to save bzr output into log files. The carriage returns are pretty
disturbing in 'vi' or 'emacs' editors.
I'll find a way to get rid of the characters and still preserve the exit
code.
Thanks for your patience. Please close the bug.
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
Hi all,
PhiLho, 30.06.2009 11:10:
... PhiLhoSoft/ Lua/FOO/ ".
>> cat Test.cmd
> @echo off
> bzr pull FOO
> ECHO ERRORLEVEL = %ERRORLEVEL%
>
>> Test.cmd
> bzr: ERROR: Not a branch: "E:/Dev/
> ERRORLEVEL = 3
Found it: I had /usr/local/bin/bzr (Cygwin notation). I contained:
python C:/Python25/ Scripts/ bzr "$@" |tr -d '\r'
That is, it tried to get rid of carriage return in the output from bzr.
I use to save bzr output into log files. The carriage returns are pretty
disturbing in 'vi' or 'emacs' editors.
I'll find a way to get rid of the characters and still preserve the exit
code.
Thanks for your patience. Please close the bug.
Regards Heimstetten
Ingo
--
Ingo Strüwing, Database Group
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Häring HRB München 161028