[Pkg-bazaar-maint] Bug#665682: bzr-svn: KeyError: 'missing revision paths for 207'

Ben Finney ben+debian at benfinney.id.au
Sun Mar 25 04:42:33 UTC 2012


Package: bzr-svn
Version: 1.2.1-1
Severity: normal

Bazaar is failing on what appears to be a valid Subversion repository::

=====
$ svn checkout svn://anonscm.debian.org/svn/svn/dep/
A    dep/ikiwiki.setup
A    dep/playground
[…]
A    dep/web/depdn-howto.mdwn
A    dep/web/recentchanges.mdwn
Checked out revision 286.

$ rm -rf dep/

$ bzr branch --bind svn://anonscm.debian.org/svn/svn/dep/
bzr: ERROR: exceptions.KeyError: 'missing revision paths for 207'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 920, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1131, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 695, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1400, in run
    from_location)
  File "/usr/lib/python2.7/dist-packages/bzrlib/controldir.py", line 778, in open_tree_or_branch
    return controldir._get_tree_branch()
  File "/usr/lib/python2.7/dist-packages/bzrlib/controldir.py", line 458, in _get_tree_branch
    branch = self.open_branch(name=name)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/remote.py", line 519, in open_branch
    branch_path = self._determine_relpath(name)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/remote.py", line 444, in _determine_relpath
    layout = repos.get_layout()
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/repository.py", line 736, in get_layout
    return self.get_layout_source()[0]
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/repository.py", line 757, in get_layout_source
    self._find_guessed_layout(self.get_config_stack())
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/repository.py", line 780, in _find_guessed_layout
    revnum, self._hinted_branch_path)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/layout/guess.py", line 147, in repository_guess_layout
    branch_path=branch_path)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/layout/guess.py", line 154, in logwalker_guess_layout
    max(0, revnum-GUESS_SAMPLE_SIZE)), revnum, branch_path)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/layout/guess.py", line 104, in guess_layout_from_history
    for (revpaths, revnum, revprops) in changed_paths:
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/logwalker.py", line 59, in iter_all_changes
    revpaths = get_revision_paths(revnum)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/logwalker.py", line 294, in get_revision_paths
    return self.cache.get_revision_paths(revnum)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/cache/tdbcache.py", line 187, in get_revision_paths
    raise KeyError("missing revision paths for %d" % revnum)
KeyError: 'missing revision paths for 207'

bzr 2.5.0dev6 on python 2.7.2 (Linux-3.2.0-2-amd64-x86_64-with-debian-wheezy-
    sid)
arguments: ['/usr/bin/bzr', 'branch', '--bind',
    'svn://anonscm.debian.org/svn/svn/dep/']
plugins: bash_completion[2.5.0dev6], builddeb[2.7.0dev], bzrtools[2.5.0],
    changelog_merge[2.5.0dev6], dbus[0.1.0dev], email[unknown],
    etckeeper[unknown], explorer[1.2.2], fastimport[0.13.0], git[0.6.8dev],
    grep[0.5.0dev], gtk[0.104.0dev], launchpad[2.5.0dev6],
    netrc_credential_store[2.5.0dev6], news_merge[2.5.0dev6], pipeline[1.4.0],
    po_merge[2.5.0dev6], qbzr[0.22.1], search[1.7.0dev], stats[0.2.0dev],
    svn[1.2.1], upload[1.0.1dev], weave_fmt[2.5.0dev6]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'

*** 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.
=====


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bzr-svn depends on:
ii  python            2.7.2-10
ii  python-bzrlib     2.5.0~bzr6458-2
ii  python-subvertpy  0.8.10-2
ii  python2.6         2.6.7-4
ii  python2.7         2.7.2-8

Versions of packages bzr-svn recommends:
ii  bzr         2.5.0~bzr6458-2
ii  python-tdb  1.2.9-4+b1
ii  python-xdg  0.19-4

Versions of packages bzr-svn suggests:
pn  bzr-rewrite  <none>

-- no debconf information





More information about the Pkg-bazaar-maint mailing list