[BUG] Error while using bzr-svn

David Cournapeau david at ar.media.kyoto-u.ac.jp
Wed Oct 25 05:41:31 BST 2006


Hi,

    I installed recent bzr + bzr-svn on a chrooted jail with edgy on it. 
I try to create a local branch from a svn repository from it, but I got 
errors after the intial checking. For example:

    bzr branch svn+http:///svn.easysw.com/public/cups/branches/kerberos

    returns

    bzr: ERROR: exceptions.KeyError: '10'

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 611, 
in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 573, 
in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 282, 
in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 722, 
in run
    revision_id, basis_dir)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/svn/format.py", 
line 80, in sprout
    result_repo = repo.clone(result, revision_id, basis)
  File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 38, 
in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 
301, in clone
    self.copy_content_into(result, revision_id, basis)
  File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 
253, in copy_content_into
    return InterRepository.get(self, 
destination).copy_content(revision_id, basis)
  File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 51, 
in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/svn/fetch.py", 
line 281, in copy_content
    for (branch, changes, revnum) in \
  File 
"/usr/lib/python2.4/site-packages/bzrlib/plugins/svn/logwalker.py", line 
125, in follow_history
    rev = self.revisions[str(i)]
  File "bsddb/dbshelve.py", line 106, in __getitem__
KeyError: '10'

bzr 0.11.0 on python 2.4.4.candidate.1 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 
'svn+http://localhost:8888/public/cups/branches/kerberos']

** please send this report to bazaar-ng at lists.ubuntu.com

    I don't know if this is relevant, but because I am behind a proxy, I 
don't use the exact above command, but

    bzr branch svn+http://localhost:8888/public/cups/branches/kerberos

    With a ssh tunnel to a computer which goes through the proxy (here 
ssh -NL 8888:svn.easysw.com:80 machine-through-proxy).


    Cheers,

    David




More information about the bazaar mailing list