[BUG] #32669 Adding a symlink to another branch fails

Aaron Bentley aaron.bentley at utoronto.ca
Fri Feb 24 17:11:43 GMT 2006


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

Andrew Lambe wrote:
> A related problem is renaming a symlink, which points to another branch,
> fails.
> Hence, bzr should always test to see if a file is a symlink before
> doing anything else with it (some python equivalent to lstat, sorry I'm
> not a python programmer).
> 
> Does anyone disagree?

Not with the generalities.  I don't think it's necessary to lstat the
file to avoid this problem, though.

We just need to hoist something like TreeTransform.canonical_path into
WorkingTree.

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

iD4DBQFD/z5P0F+nu1YWqI0RAui8AJd05dDqFibPdsO/myE8IrkDCNa+AJ90fDwi
A3rb+jmgKFgVwjpHAcI3PQ==
=rHVG
-----END PGP SIGNATURE-----




More information about the bazaar mailing list