bzr annotate crashes on branch of svn-based trunk -- ghost revision issue?

Bug #496382 reported by Evan Jones on 2009-12-14
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Crash on trying to annotate a

Remote SVN:

Local Bzr branch of SVN project; 'project' is the shared repo.

Running 'bzr annotate' on some files in the trunk succeeds; others fail but don't crash (example 1, below); still others crash (ex 2).

I've had a succession of problems with log/annotate/diff, all of which seem to come back to KeyErrors when looking for revisions. ( rev = revisions[origin] KeyError: '<email address hidden>' )

Don't know if this is a Bzr-only problem or a Bzr-svn problem, but posting it here for starters.

Ex 1)
# This shouldn't fail, but at least doesn't crash
$P$G] bzr annotate editSubmissionPipe/
bzr: ERROR: Revision {('', '<email address hidden>')} not present in "<bzrlib.groupcompress.GroupCompressVersionedFiles object at 0x1702590>".

Ex 2)
# This crashes
$P$G] bzr annotate editSubmissionPipe/
bzr: ERROR: exceptions.KeyError: '<email address hidden>'

Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/bzrlib/", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.5/site-packages/bzrlib/", line 654, in run_argv_aliases
  File "/Library/Python/2.5/site-packages/bzrlib/", line 1052, in ignore_pipe
    result = func(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/", line 4416, in run
  File "/Library/Python/2.5/site-packages/bzrlib/", line 103, in annotate_file_tree
  File "/Library/Python/2.5/site-packages/bzrlib/", line 232, in _expand_annotations
    rev = revisions[origin]
KeyError: '<email address hidden>'

bzr 2.0.1 on python 2.5.1 (Darwin-9.8.0-i386-32bit)
arguments: ['/usr/local/bin/bzr', 'annotate', '']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
  bzrtools /Library/Python/2.5/site-packages/bzrlib/plugins/bzrtools [2.0.1]
  email /Library/Python/2.5/site-packages/bzrlib/plugins/email [unknown]
  explorer /Domain/ [0.9.0]
  extmerge /Library/Python/2.5/site-packages/bzrlib/plugins/extmerge [unknown]
  hg /Library/Python/2.5/site-packages/bzrlib/plugins/hg [0.1.0]
  launchpad /Library/Python/2.5/site-packages/bzrlib/plugins/launchpad [2.0.1]
  loom /Library/Python/2.5/site-packages/bzrlib/plugins/loom [1.4.0dev]
  netrc_credential_store /Library/Python/2.5/site-packages/bzrlib/plugins/netrc_credential_store [2.0.1]
  qbzr /Library/Python/2.5/site-packages/bzrlib/plugins/qbzr [0.14.3]
  rebase /Library/Python/2.5/site-packages/bzrlib/plugins/rebase [0.5.4dev]
  search /Library/Python/2.5/site-packages/bzrlib/plugins/search [1.7.0dev]
  svn /Domain/ [1.0.1]
  upload /Library/Python/2.5/site-packages/bzrlib/plugins/upload [1.0.0dev]
  xmloutput /Library/Python/2.5/site-packages/bzrlib/plugins/xmloutput [0.8.5]

*** 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
    including this traceback and a description of the problem.

Evan Jones (evan-t-jones) wrote :

Sorry, that first line should read 'Crash on running bzr annotate on a branch of an SVN repository'

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers