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

Bug #496382 reported by Evan Jones
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Crash on trying to annotate a

Remote SVN:
path/to/project/trunk

Local Bzr branch of SVN project; 'project' is the shared repo.
~/workspace/project/trunk

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/postRenderTasks.py
bzr: ERROR: Revision {('16015@cdd55699-74e2-4048-bdea-c04ac82c216a:plugins%2Fmaya%2FeditSubmissionPipe%2Ftrunk%2FeditSubmissionPipe%2FpostRenderTasks.py', '<email address hidden>')} not present in "<bzrlib.groupcompress.GroupCompressVersionedFiles object at 0x1702590>".

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

Traceback (most recent call last):
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.5/site-packages/bzrlib/commands.py", line 1052, in ignore_pipe
    result = func(*args, **kwargs)
  File "/Library/Python/2.5/site-packages/bzrlib/builtins.py", line 4416, in run
    show_ids=show_ids)
  File "/Library/Python/2.5/site-packages/bzrlib/annotate.py", line 103, in annotate_file_tree
    current_rev))
  File "/Library/Python/2.5/site-packages/bzrlib/annotate.py", 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', 'fcpExporter.py']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
  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/drd.int/Users/evan.jones/.bazaar/plugins/explorer [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/drd.int/Users/evan.jones/.bazaar/plugins/svn [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
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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