bzr on Windows
Aaron Bentley
aaron.bentley at utoronto.ca
Sun Sep 4 04:09:06 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Belchenko wrote:
> Sadly, but in bzr-0.0.7 merge test is not working on Windows (seems that
> merge itself not working), so I roll back to 0.0.6. May be I have not
> some important third-party tools?
No. 0.0.7 does not require any external tools, as 0.0.6 does. On reason
being that not all Windows users would have diffutils installed.
> Another win32 improvemets in setup.py: for windows users automatically
> created batch file bzr.bat for simple invoking bzr.
>
> Wise men, can you explaine me why not using shutil.move on Windows
> instead of os.rename?
One thing about os.rename is that it's an atomic operation. shutil.move
isn't.
> At least it's just working, but os.rename is not
> works if src_file exists.
It looks like the documentation of os.move is not correct: "If the
destination is on our current filesystem, then simply use rename"
> I think some of my fixes may be included in current bzr.dev for future
> compatibility with windows platform.
Thanks for sending the patch and suggestions.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDGmVS0F+nu1YWqI0RAlzKAJ4gQhfyHs96S4ds195laPScYZaQdQCghmGK
PoDkvmTfQCtQHNyGdIhrudk=
=InTV
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list