[PATCH] better handling of symlinks in path
David Allouche
david at allouche.net
Mon Oct 10 08:49:58 BST 2005
On Mon, 2005-10-10 at 09:57 +1000, Robert Collins wrote:
> On Sun, 2005-10-09 at 22:43 +0200, David Allouche wrote:
> > + # check that relpath knows about symlinks
> > + # TODO: SKIP these tests on win32
>
>
> To do this, guard the portion of the test, or the whole test case with
>
> if osutils.has_symlinks():
Gah... I had fixed it, but did not save the file before making the
patch...
Fixed that, and made the _relpath implementation a little bit simpler by
calling os.path.realpath directly if it's available instead of using a
(pointless IMO) osutils helper.
--
-- ddaa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: relpath-symlink.patch
Type: text/x-patch
Size: 5588 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051010/458d2633/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/20051010/458d2633/attachment.pgp
More information about the bazaar
mailing list