bzr branch-history crashes

Bug #1860233 reported by teknopaul
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

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/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools/command_classes.py", line 359, in run
    return branch_history(branch)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools/branchhistory.py", line 12, in branch_history
    for revno, revision in iter_revisiondata(b):
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools/branchhistory.py", 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-
    Ubuntu-18.04-bionic)
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
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

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.