bzr-svn plugin problems

John Whitley whitley at acm.org
Thu May 24 21:39:08 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

FYI, this exact same error occurs if the Subversion module isn't  
available.

Thought: an ImportError on a plugin load might be distinguished from  
other errors, to help inform the user about missing dependencies.   
(e.g. the SyntaxError produced if the plugin is named 'bzr-svn').   
Maybe it's easiest to emit the exception message without a traceback  
here?

- -- John

On Apr 30, 2007, at 7:49 AM, John Arbash Meinel wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Adam Mercer wrote:
>> Hi
>>
>> I've trying to access a subversion repository using the bzr-svn  
>> plugin
>> and bzr-0.15. Following the instructions I've extracted the bzr-svn
>> tarball into my ~/.bazaar/plugins directory. Rebuilt my subversion
>> applying the mentioned patch to the bindings yet I can't access
>> subversion repositorys using bzr
>>
>> [ram at skymoo bzr]$ bzr branch file:///Users/ram/.svn_repos/cv
>> Unable to load plugin 'bzr-svn-0.3.2' from
>> '/Users/ram/.bazaar/plugins': It is not a valid python module name.
>> bzr: ERROR: Not a branch: /Users/ram/.svn_repos/cv/
>>
>> What am I doing wrong here?
>>
>> Cheers
>>
>> Adam
>
> The plugin should be named "svn" not "bzr-svn-0.3.2"
>
> Or possibly "bzr_svn".
>
> Oh, and bzr-svn-0.3.3 was just released. I think it is compatible with
> bzr-0.15, and certainly it is used for bzr-0.16.
>
> https://bugs.launchpad.net/bzr/+bug/83838
>
> John
> =:->
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGNgIFJdeBCYSNAAMRAntWAJ9TWsU/5/omzFeiL3BDaZBxIVvt4QCgkbhA
> r1WUkXXcwXsiZmPPb3WsKds=
> =lr+l
> -----END PGP SIGNATURE-----
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFGVfgYr52Mexd941IRAoRbAKCWrFMgwFRaP5/h7ZTrsRsLr8J4NACgv5Nh
HSkbGzk7/hj7j1btoK2uMGM=
=MLQz
-----END PGP SIGNATURE-----



More information about the bazaar mailing list