error in DisabledTags.get_reverse_tag_dict from show_log on old branches

Bug #140615 reported by Martin Pool
10
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
Unassigned

Bug Description

bazaar 0.92dev seems to have trouble running log on an old-format branch:

mbp@grace% bzr log bzr+ssh://bazaar.launchpad.net/~bzr/bzr/trunk
bzr: ERROR: exceptions.AttributeError: 'DisabledTags' object has no attribute 'get_reverse_tag_dict'

Traceback (most recent call last):
  File "/home/mbp/bzr/trunk/bzrlib/commands.py", line 802, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/mbp/bzr/trunk/bzrlib/commands.py", line 758, in run_bzr
    ret = run(*run_argv)
  File "/home/mbp/bzr/trunk/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/mbp/bzr/trunk/bzrlib/commands.py", line 768, in ignore_pipe
    result = func(*args, **kwargs)
  File "/home/mbp/bzr/trunk/bzrlib/builtins.py", line 1733, in run
    limit=limit)
  File "/home/mbp/bzr/trunk/bzrlib/log.py", line 170, in show_log
    start_revision, end_revision, search, limit)
  File "/home/mbp/bzr/trunk/bzrlib/log.py", line 254, in _show_log
    rev_tag_dict = branch.tags.get_reverse_tag_dict()
AttributeError: 'DisabledTags' object has no attribute 'get_reverse_tag_dict'

bzr 0.92.0dev0 on python 2.5.1.final.0 (linux2)
arguments: ['/home/mbp/bin/bzr', 'log', 'bzr+ssh://bazaar.launchpad.net/~bzr/bzr/trunk']

** please send this report to <email address hidden>
zsh: exit 3 bzr log bzr+ssh://bazaar.launchpad.net/~bzr/bzr/trunk

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → High
Revision history for this message
Martin Pool (mbp) wrote :

james_w has already fixed this in bzr.dev.

Changed in bzr:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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