launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #07231
Re: Bzr plugin for guessing relevant test modules: Fault line
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
As of revno 3, it works with the stock bzr on Natty. It supports bzr
2.3 and later.
Aaron
On 11-05-31 12:02 PM, Gavin Panella wrote:
> On 31 May 2011 15:51, Aaron Bentley <aaron@xxxxxxxxxxxxx> wrote:
> [...]
>
> This is a totally brilliant idea!
>
>> To install:
>> bzr branch lp:fault-line ~/.bazaar/plugins/faultline -Derror
>
> What version of bzr does it need? I get the traceback below with the
> stock bzr on natty:
>
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line
> 926, in exception_to_return_code
> return the_callable(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line
> 1126, in run_bzr
> ret = run(*run_argv)
> File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line
> 691, in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 713, in run
> return self._operation.run_simple(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135,
> in run_simple
> self.cleanups, self.func, *args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165,
> in _do_with_cleanups
> result = func(*args, **kwargs)
> File "/home/gavin/.bazaar/plugins/faultline/faultline.py", line 61, in run
> finder.find_correlations(limit)
> File "/home/gavin/.bazaar/plugins/faultline/faultline.py", line 157,
> in find_correlations
> for revision in self.select_revisions():
> File "/home/gavin/.bazaar/plugins/faultline/faultline.py", line 110,
> in select_revisions
> target_tip = self.basis_tree.get_file_revision(target_file)
> AttributeError: 'DirStateRevisionTree' object has no attribute
> 'get_file_revision'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk3mNt0ACgkQ0F+nu1YWqI18xACdFFSjpdj+s9pTyu2E3Ja7ZqIp
eakAnjgv/B64JKnLLKgd5KpJec/oPMSD
=KsUH
-----END PGP SIGNATURE-----
Follow ups
References