Comment 3 for bug 438959

Per Johansson (per.j) wrote :

Though with a different error message I just realised:

0.367 Traceback (most recent call last):
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/commands.py", line 1052, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/builtins.py", line 1917, in run
    extra_trees=extra_trees, using=using)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/diff.py", line 432, in show_diff_trees
    return differ.show_diff(specific_files, extra_trees)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/diff.py", line 839, in show_diff
    return self._show_diff(specific_files, extra_trees)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/diff.py", line 899, in _show_diff
    self._diff(file_id, oldpath, newpath, kind[0], kind[1])
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/diff.py", line 925, in _diff
    new_path, old_kind, new_kind)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/diff.py", line 491, in _diff_many
    new_kind)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/diff.py", line 613, in diff
    old_date = _patch_header_date(self.old_tree, file_id, old_path)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/diff.py", line 444, in _patch_header_date
    mtime = tree.get_file_mtime(file_id, path)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/workingtree_4.py", line 1769, in get_file_mtime
    return self._repository.get_revision(last_changed_revision).timestamp
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/repofmt/knitrepo.py", line 208, in get_revision
    return self.get_revision_reconcile(revision_id)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/repository.py", line 1847, in get_revision_reconcile
    return self._get_revisions([revision_id])[0]
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/local/python/lib/python2.6/site-packages/bzrlib/repository.py", line 1864, in _get_revisions
    raise errors.NoSuchRevision(self, revid)
NoSuchRevision: CHKInventoryRepository('file:///home/pelle/csrc/.bzr/repository/') has no revision <email address hidden>