[RFC] symlinks support on win32: what features really needed or bzr?

Alexander Belchenko bialix at ukr.net
Tue Oct 30 20:08:38 GMT 2007


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

Currently I narrow down problem with symlinks emulation on win32
to 3 important functions:
os.symlink, os.readlink and os.lstat.

Does bzr really use follow-symlink approach or only readlink?
There is some tests in test_osutils those expect os.path.realpath
to follow symlinks. Are there any other features I need to emulate
for bzr? Probably os.stat should follow symlink too?

Another question: how follow-symlink approach works in Linux
if symlink point to another symlink? Or Linux effectively prevents this?

Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHJ49GzYr338mxwCURAkDmAJ0QYESgrm+wDPMuGTb86ffexpDBugCfXIrb
S3jef2GSjh+h+9SFQXIL3sg=
=QrP9
-----END PGP SIGNATURE-----



More information about the bazaar mailing list