bzr branch-history gives "object has no attribute 'revision_history'"

Bug #1272109 reported by Peter Zandbergen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
BzrTools
New
Undecided
Unassigned

Bug Description

executed the command as shown below.

System info:
===========================
peza@ws-video:~/gop/src/sabic$ lsb
lsblk lsb_release
peza@ws-video:~/gop/src/sabic$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy

python info:
================
peza@ws-video:~/gop/src/sabic$ python
Python 2.7.5+ (default, Sep 19 2013, 13:49:51)
[GCC 4.8.1] on linux2

==============================
peza@ws-video:~/gop/src/sabic$ 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'

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.1000.2014-01-23T23:03.crash
if a bug-reporting window does not automatically appear.
peza@ws-video:~/gop/src/sabic$ 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.6.0 on python 2.7.5 (Linux-3.11.0-15-generic-i686-with-
    Ubuntu-13.10-saucy)
arguments: ['/usr/bin/bzr', 'branch-history']
plugins: bash_completion[2.6.0], bzrtools[2.5.0], changelog_merge[2.6.0],
    explorer[1.3.0], grep[2.6.0], launchpad[2.6.0],
    netrc_credential_store[2.6.0], news_merge[2.6.0], po_merge[2.6.0],
    qbzr[0.23.0], weave_fmt[2.6.0]
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.

affects: bzr → bzrtools
Andrew Schulman (andrex)
summary: - executed command bzr branch-history
+ bzr branch-history gives "object has no attribute 'revision_history'"
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.