[PATCH] better handling of symlinks in path

David Allouche david at allouche.net
Sun Oct 16 16:22:25 BST 2005


Here's the new version of the patch, which tries to address the
readability problems mentioned in the last review.

For the record, this patch fixes a problem when when the current
directory is /foo/bar/gam/dev and /foo/gam is a symlink to /foo/bar/gam,
then "bzr cat /foo/gam/dev/fail" would fail with an error looking like:

[27610] Sat 18:06:38.343 ERROR: not a branch: path u'/foo/gam/dev/file'
is not within branch '/foo/bar/gam/dev'

It also does some incidental cleanups, removing an unused cruft function
and fixing some style in code near to the modifications.
-- 
                                                            -- ddaa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: relpath-symlink.patch
Type: text/x-patch
Size: 6657 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051016/8ca86976/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051016/8ca86976/attachment.pgp 


More information about the bazaar mailing list