bzr-repodetails
John Arbash Meinel
john at arbash-meinel.com
Mon Mar 7 08:43:26 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 3/5/2011 1:55 PM, Eli Zaretskii wrote:
> Is this plugin functional with the current versions of bzr? I cannot
> get anything but a traceback from it:
>
> 0.141 bazaar version: 2.3.0
> 0.141 bzr arguments: [u'repository-details']
> 0.188 looking for plugins in C:/Documents and Settings/Zaretzky/Application Data/bazaar/2.0/plugins
> 0.188 looking for plugins in D:/usr/Bazaar/plugins
> 0.391 encoding stdout as sys.stdout encoding 'cp1252'
> 0.422 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
> 0.422 Traceback (most recent call last):
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 926, in exception_to_return_code
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 1126, in run_bzr
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 691, in run_argv_aliases
> File "D:\usr\Bazaar\lib\library.zip\bzrlib\commands.py", line 713, in run
> File "bzrlib\cleanup.pyo", line 135, in run_simple
> File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
> File "D:/usr/Bazaar/plugins\repodetails\__init__.py", line 51, in run
> File "D:/usr/Bazaar/plugins\repodetails\gather_stats.py", line 72, in <module>
> AttributeError: 'module' object has no attribute 'RepositoryFormatCHK1'
>
I wouldn't be surprised that this plugin has bit-rotted a bit. It was
mostly a prototype test plugin, so that we could see what effect
tweaking parameters had on new formats.
If you want to fix it, you can probably look at changing
"RepositoryFormatCHK1" to something like "RepositoryFormat2a", but you'd
have to poke a bit to make sure it was all the right syntax.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk10mq4ACgkQJdeBCYSNAAPRXwCgmb1t1/r2/54RephtV9ESY4M2
TjcAn1HWw2y8n8ltbaAsVQ+NNKSQFRV/
=Y3Ke
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list