[RFC] executable on windows

Aaron Bentley aaron.bentley at utoronto.ca
Fri Mar 24 13:56:48 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Belchenko wrote:
> Jan Hudec пишет:
> 
>>>> To accomodate both styles, I propose we rename bzr to bzr.py and create
>>>> a new bzr that simply invokes bzr.py.
>>>>
>>>> Thoughts?
>>
>>
>> Very, very ugly.
>>
>> On Windows, a .bat should be created to invoke python bzr.
> 
> 
> As I say, current version of bzr setup do this: it create bzr.bat as
> simple launcher with this content:
> 
> @full\path\to\python24.exe full\path\to\bzr $*

Right, and there have been complaints because that's not
win98-compatible.  And the win98-compatible option places limits on how
many arguments you can supply.

>> There should be some if errorlevel things and such so it exits with
>> proper status.
> 
> 
> Very interesting hack. But I think it's too complicated. I'm OK with
> current simple batch launcher. At least it returns true errorlevel.

bzr error status is significant:
    0- OK,
    1- Conflicts in merge-like operations, or changes are present in
       diff-like operations.
    2- Unrepresentable diff changes (i.e. binary files that we cannot show
       a diff of).
    3- An error or exception has occurred.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEI/qg0F+nu1YWqI0RAvEXAJ9gceh96QGp5mI4KPiW/4pu7UbrIACfT040
mH7PIWD3DpjPW7cdn6dqJ/A=
=yfNN
-----END PGP SIGNATURE-----




More information about the bazaar mailing list