Comment 5 for bug 32669

Revision history for this message
John A Meinel (jameinel) wrote :

Still exists in bzr.dev. 'bzr add' will do the right thing, but 'bzr add symlink' has multiple failure paths.
Several paths effectively call os.path.normpath, which will normalize all symlinks, including the final one.

osutils._posix_abspath() calls normpath,
and urlutils.local_path_to_url() calls both _posix_abspath, and normpath.

Probably we could update osutils._posix_abspath() to not normpath the final entry, and then update callers to not call normpath on the returned path