[BUG] full local path to bundle don't accepted in merge/pull commands

John Arbash Meinel john at arbash-meinel.com
Mon Jul 31 23:01:04 BST 2006


Alexander Belchenko wrote:
> Matthew D. Fuller пишет:
>> On Sat, Jul 29, 2006 at 07:29:59PM +0300 I heard the voice of
>> Alexander Belchenko, and lo! it spake thus:
>>> E:\Bazaar-NG\__test\a>bzr merge E:\Bazaar-NG\__test\b\b.patch
>>> bzr: ERROR: b.patch is not a source file in any tree.
>>
>> I wonder if it might have to do with using the \-paths instead of
>> /; everywhere that works uses /, even in the message for creating the
>> bundle.
> 
> Hmmm...
> 
> Very very strange. But you're right. I change my test for using '\' for
> relative paths, and '/' for absolute paths. And relative paths works
> anyway, but absolute paths now also works. Very strange!
> 
> John, what you think, is it might be related to your local-path-to-url
> stuff?
> 

Yep.

Specifically, 'read_bundle_from_url' expects to be passed a URL, not a
local path.

We could probably fix it easily with the attached diff.

Does it work for you?

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: read_from_local_abspath.diff
Type: text/x-patch
Size: 611 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060731/1f083051/attachment.bin 
-------------- 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/20060731/1f083051/attachment.pgp 


More information about the bazaar mailing list