Bazaar installed from source does not work under cygwin

Nicholas Allen allen at ableton.com
Fri Sep 28 15:16:23 BST 2007


> No, windows python works much worse inside cygwin, because it know
> nothing about emulation of posix system provided by cygwin.
> And absolute path mismatch is the top of iceberg.
>
> A while ago John Meinel said he used standalone bzr.exe for Cygwin.
> I think it's best solution for your problem.
>
> But I'm sure the right solution here: you need to install bzr on cygwin.
Actually, I always used the install wizard version under Cygwin with no 
problems. I only decided to use the source one as 0.91 installer had not 
been released yet. I would have thought that it would be possible to 
have the same functionality when installing from source as using the 
installer.

I have found that if I type bzr.bat it works. In the scripts directory 
there are 2 bzr files. One is a python one called "bzr" and the other is 
"bzr.bat". bzr.bat call bzr but it seems under Cygwin the "bzr" python 
script is called directly instead of through the bzr.bat script.

A solution I found is to rename the "bzr" script to "bzr.py" and then 
add a bash script called "bzr" that launches the "bzr.bat" file. With 
this setup bzr works from both Cygwin and DOS. I guess it would make 
sense to have this as the default setup after install from source on 
Windows wouldn't it?

Nick



More information about the bazaar mailing list