bzr branch-history crashes

Bug #1860233 reported by teknopaul on 2020-01-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

There is nothing special about this repo AFAIK, happens on all my checked out branches.

user@abox:~/bzr_workspace/linci$ bzr branch-history
bzr: ERROR: exceptions.AttributeError: 'BzrBranch7' object has no attribute 'revision_history'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 673, in run_argv_aliases
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools/", line 359, in run
    return branch_history(branch)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools/", line 12, in branch_history
    for revno, revision in iter_revisiondata(b):
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools/", line 53, in iter_revisiondata
    for no, revision_id in enumerate(branch.revision_history()):
AttributeError: 'BzrBranch7' object has no attribute 'revision_history'

bzr 2.8.0dev1 on python 2.7.17 (Linux-4.15.0-74-generic-x86_64-with-
arguments: ['/usr/bin/bzr', 'branch-history']
plugins: bash_completion[2.8.0dev1], builddeb[2.8.6], bzrp4[unknown],
    bzrtools[2.6.0], changelog_merge[2.8.0dev1], fastimport[0.14.0dev],
    grep[2.8.0dev1], launchpad[2.8.0dev1], netrc_credential_store[2.8.0dev1],
    news_merge[2.8.0dev1], po_merge[2.8.0dev1], weave_fmt[2.8.0dev1]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.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
    including this traceback and a description of the problem.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers