bzr stats cannot handle revision ranges like -r2..5

Bug #739823 reported by Andrew King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-stats
Fix Committed
Undecided
Unassigned

Bug Description

It has the following error:
AttributeError: 'ProgressTask' object has no attribute 'note'

bzr: ERROR: exceptions.AttributeError: 'ProgressTask' object has no attribute 'note'

Traceback (most recent call last):
  File "/home/user/bzr-dev/bzr.dev/bzrlib/commands.py", line 926, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/user/bzr-dev/bzr.dev/bzrlib/commands.py", line 1126, in run_bzr
    ret = run(*run_argv)
  File "/home/user/bzr-dev/bzr.dev/bzrlib/commands.py", line 691, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/user/bzr-dev/bzr.dev/bzrlib/commands.py", line 713, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/home/user/bzr-dev/bzr.dev/bzrlib/cleanup.py", line 134, in run_simple
    return _do_with_cleanups(
  File "/home/user/bzr-dev/bzr.dev/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/user/.bazaar/plugins/stats/cmds.py", line 272, in run
    alternate_rev)
  File "/home/user/.bazaar/plugins/stats/cmds.py", line 186, in get_diff_info
    pb.note('getting ancestry 1')
AttributeError: 'ProgressTask' object has no attribute 'note'

Tried with both python-2.4 and python2.6, using current bzr trunk, current bzr stats plugin

Revision history for this message
Andrew King (eurokang) wrote :

Fixed in revision 46 by jelmer

Changed in bzr-stats:
status: New → Fix Committed
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.