[win32][BUG] url to filesystem???
John Arbash Meinel
john at arbash-meinel.com
Sat Jun 10 13:57:38 BST 2006
Alexander Belchenko wrote:
> Robert Collins пишет:
>> On Fri, 2006-06-09 at 07:57 +0300, Alexander Belchenko wrote:
>>
>> what does "bzrlib.transport.get_transport('.')" return ?
>
> In [2]: os.getcwd()
> Out[2]: 'E:\\work\\Python\\bzr\\devel\\bzr.dev'
>
> In [3]: bzrlib.transport.get_transport('.')
> Out[3]: <bzrlib.transport.local.LocalTransport
> url=file:///E:/work/Python/bzr/devel/bzr.dev/>
>
> Seems correct.
>
> --
> Alexander
I tracked down the bug. It is in 'bzrlib.urlutils.split'. It would
probably have been caught by the test suite, but since so many other
tests fail under win32, it probably isn't obvious.
Anyway, the attached patch makes win32 local paths work again.
If I get a +1, I'll submit it to the pqm.
John
=:->
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-win32-local.bundle
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060610/5743e77f/attachment.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060610/5743e77f/attachment.pgp
More information about the bazaar
mailing list