AttributeError: 'KnitPackRepository' object has no attribute 'revision_parents'

Bug #306001 reported by LI Daobing
2
Affects Status Importance Assigned to Milestone
bzr-rewrite
Invalid
Undecided
Unassigned
bzr-rebase (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

bzr 1.9-1 in ubuntu crashed.

$ bzr rebase ../iptux
bzr: ERROR: exceptions.AttributeError: 'KnitPackRepository' object has no attribute 'revision_parents'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 853, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/rebase/__init__.py", line 180, in run
    wt.branch.repository.revision_parents,
AttributeError: 'KnitPackRepository' object has no attribute 'revision_parents'

bzr 1.9 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'rebase', '../iptux']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  avahi /usr/lib/python2.5/site-packages/bzrlib/plugins/avahi [0.3.0dev0]
  builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [2.0.2]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.9.0]
  dbus /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus [unknown]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.95.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  qbzr /usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr [0.9.2]
  rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.3.0]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.15dev0]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Revision history for this message
Andrew Bennetts (spiv) wrote :

This is a bug in the rebase plugin, rather that bzr itself.

Revision history for this message
Andrew Bennetts (spiv) wrote :

(And I think this bug is fixed in a newer bzr-rebase, maybe 0.4).

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Yes, this is already fixed. It should be fixable in Ubuntu as well by syncing the latest bzr-rebase from debian.

Changed in bzr-rebase:
status: New → Invalid
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Fixed in jaunty, which has a newer bzr-rebase.

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