error with hg-bzr

Robert Collins robertc at robertcollins.net
Fri Apr 27 03:16:07 BST 2007


On Thu, 2007-04-26 at 17:41 -0700, David, Lysander wrote:
> Hi,
>  
> When executing this command:
>  
> bzr pull /home/ldavid/devel/migrate_hg_to_svn/hg/mvip
>  

> 
> "/app/linux/2.6.9-42.13.ELsmp/python/share/2.4.4/lib/python2.4/site-packages/bzrlib/branch.py", line 1514, in pull
>     result.tag_conflicts = source.tags.merge_to(self.tags)
> AttributeError: 'HgBranch' object has no attribute 'tags'
>  
> bzr 0.15.0 on python 2.4.4.final.0 (linux2)
> arguments: ['/app/linux/2.6.9-42.13.ELsmp/python/share/2.4.4/bin/bzr',
> 'pull', '/home/ldavid/devel/migrate_hg_to_svn/hg/mvip']
>  
> ** please send this report to bazaar at lists.ubuntu.com
> 
>  
> Would you happen to know what could be done to correct this error ?

The plugin needs to be upgraded to support the 0.15 API which wants a
tags object on the branch. We could also fix this in bzr by having a
default tags object which is a no-op. 

It should be as simple as altering the HgBranch.__init__ to set
self.tags = bzrlib.branch.NullTags() (or something similar to that- I
haven't looked it up right now)

 affects /products/bzr-hg
 status confirmed
 importance critical

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- 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/20070427/2f0c4744/attachment.pgp 


More information about the bazaar mailing list