← Back to team overview

launchpad-dev team mailing list archive

Re: Bzr plugin for guessing relevant test modules: Fault line

 

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'


Follow ups

References