IndexError exception when branching into subversion format repo

Bug #178873 reported by Christian Walther
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

bzr init-repo --subversion bazaar
cd bazaar
bzr branch svn+http://svn.libsdl.org/trunk/SDL SDL-trunk

gives me the following backtrace:

bzr: ERROR: exceptions.IndexError: list index out of range

Traceback (most recent call last):
  File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py", line 802, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py", line 758, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/local/lib/python2.5/site-packages/bzrlib/builtins.py", line 905, in run
    possible_transports=[to_transport])
  File "/opt/local/lib/python2.5/site-packages/bzrlib/plugins/svn/remote.py", line 75, in sprout
    result_repo.fetch(repo, revision_id=revision_id)
  File "/opt/local/lib/python2.5/site-packages/bzrlib/repository.py", line 873, in fetch
    return inter.fetch(revision_id=revision_id, pb=pb, find_ghosts=find_ghosts)
  File "/opt/local/lib/python2.5/site-packages/bzrlib/plugins/svn/commit.py", line 777, in fetch
    self.copy_content(revision_id=revision_id, pb=pb)
  File "/opt/local/lib/python2.5/site-packages/bzrlib/plugins/svn/commit.py", line 739, in copy_content
    revision_id = self.source.revision_parents(revision_id)[0]
IndexError: list index out of range

bzr 1.0.0 on python 2.5.1.final.0 (darwin)
arguments: ['/opt/local/bin/bzr', 'branch', 'svn+http://svn.libsdl.org/trunk/SDL', 'SDL-trunk']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'de_CH.UTF-8'
plugins:
  gtk /opt/local/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0]
  launchpad /opt/local/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  multiparent /opt/local/lib/python2.5/site-packages/bzrlib/plugins/multiparent.pyc [unknown]
  svn /opt/local/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.5]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

('init-repo --subversion' was the first thing I tried after branching into a repository created with 'init-repo' failed saying 'Repository KnitPackRepository is not compatible with repository SvnRepository', before I found out that I should have used 'init-repo --dirstate-with-subtree'.)

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.