AttributeError: 'CHKInventoryRepository' object has no attribute 'iter_reverse_revision_history'

Bug #1033849 reported by Wouter van Heyst
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-grep
New
Undecided
Unassigned
bzr-grep (Ubuntu)
Fix Released
High
Unassigned

Bug Description

> bzr grep -r 1..-1 foo
bzr: ERROR: exceptions.AttributeError: 'CHKInventoryRepository' object has no attribute 'iter_reverse_revision_history'

Traceback (most recent call last):
  File "/home/larstiq/src/bzr/bzr.dev/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/larstiq/src/bzr/bzr.dev/bzrlib/commands.py", line 1141, in run_bzr
    ret = run(*run_argv)
  File "/home/larstiq/src/bzr/bzr.dev/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/larstiq/src/bzr/bzr.dev/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/home/larstiq/src/bzr/bzr.dev/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/home/larstiq/src/bzr/bzr.dev/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/larstiq/src/bzr/bzr.dev/bzrlib/commands.py", line 1158, in ignore_pipe
    result = func(*args, **kwargs)
  File "/home/larstiq/.bazaar/plugins/dev/grep/cmds.py", line 249, in run
    grep.versioned_grep(GrepOptions)
  File "/home/larstiq/.bazaar/plugins/dev/grep/grep.py", line 353, in versioned_grep
    for revid, revno, merge_depth in given_revs:
  File "/home/larstiq/.bazaar/plugins/dev/grep/grep.py", line 70, in _linear_view_revisions
    for revision_id in repo.iter_reverse_revision_history(end_rev_id):
AttributeError: 'CHKInventoryRepository' object has no attribute 'iter_reverse_revision_history'

bzr 2.6.0dev3 on python 2.7.3rc2 (Linux-3.4-trunk-686-pae-i686-with-
    debian-6.0.5)
arguments: ['/home/larstiq/src/bzr/bzr.dev/bzr', 'grep', 'texmf', '-r',
    '-10..-1']
plugins: bash_completion[2.6.0dev3], builddeb[2.7.0dev], bzrtools[2.5.0],
    changelog_merge[2.6.0dev3], fastimport[0.14.0dev], git[0.6.8dev],
    grep[0.5.0dev], interactive[1.2.0], launchpad[2.6.0dev3],
    netrc_credential_store[2.6.0dev3], news_merge[2.6.0dev3],
    po_merge[2.6.0dev3], qbzr[0.22.0dev], rewrite[0.6.3dev], stats[0.2.0dev],
    upload[1.0.1dev], vimdiff[unknown], weave_fmt[2.6.0dev3]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_DK.UTF-8'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Tags: ftbfs

Related branches

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :
Changed in bzr-grep (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: ftbfs
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzr-grep - 0.4.0+bzr147-1ubuntu1

---------------
bzr-grep (0.4.0+bzr147-1ubuntu1) quantal; urgency=low

  * bzr2.6compat.patch: Update to use 'graph.iter_lefthand_ancestry'
    instead of 'repo.iter_reverse_revision_history' making compatible
    with bzr 2.6 (LP: #1033849).
 -- Andrew Starr-Bochicchio <email address hidden> Wed, 26 Sep 2012 22:59:33 -0400

Changed in bzr-grep (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.