bzr svn import crashes

Bug #457813 reported by Paul Brossier
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
subversion
New
Undecided
Unassigned

Bug Description

$ bzr init pd
Created a standalone tree (format: 2a)
$ cd pd
$ bzr svn-import https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/pd
bzr: ERROR: subvertpy.SubversionException: ("REPORT of '/svnroot/pure-data/!svn/bc/12632': 200 OK (https://pure-data.svn.sourceforge.net)", 175002)

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/commands.py", line 156, in run
    overall_layout = from_repos.get_guessed_layout()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/repository.py", line 707, in get_guessed_layout
    self._find_guessed_layout()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/repository.py", line 694, in _find_guessed_layout
    revnum, self._hinted_branch_path)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/layout/guess.py", line 143, in repository_guess_layout
    repository._log.iter_changes(None, revnum, max(0, revnum-GUESS_SAMPLE_SIZE)), revnum, branch_path)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/logwalker.py", line 176, in iter_changes
    self._fetch_revisions(max(from_revnum, to_revnum), pb=pb)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/logwalker.py", line 248, in _fetch_revisions
    self.actual._transport.get_log(rcvr, [""], self.saved_revnum, to_revnum, 0, True, True, False, todo_revprops)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/transport.py", line 467, in get_log
    revprops)
SubversionException: ("REPORT of '/svnroot/pure-data/!svn/bc/12632': 200 OK (https://pure-data.svn.sourceforge.net)", 175002)

bzr 2.0.1 on python 2.5.4 (Linux-2.6.30-2-686-i686-with-debian-squeeze-sid)
arguments: ['/usr/bin/bzr', 'svn-import', 'https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/pd']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
  builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [0.95.0dev]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [2.0.1]
  fastimport /home/piem/.bazaar/plugins/fastimport [0.9.0dev]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [2.0.1]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [2.0.1]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [1.0.0]

*** 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
Andrew Bennetts (spiv) wrote :

Possibly related to bug 395482 and/or bug 264883.

Revision history for this message
Paul Brossier (piem) wrote :

redoing it the right way, without bzr init

piem@cassis:/tmp/pd$ rm -rf .bzr/
piem@cassis:/tmp/pd$ bzr svn-import https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/pd
bzr: ERROR: subvertpy.SubversionException: ("REPORT of '/svnroot/pure-data/!svn/bc/12632': 200 OK (https://pure-data.svn.sourceforge.net)", 175002)

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/commands.py", line 156, in run
    overall_layout = from_repos.get_guessed_layout()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/repository.py", line 707, in get_guessed_layout
    self._find_guessed_layout()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/repository.py", line 694, in _find_guessed_layout
    revnum, self._hinted_branch_path)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/layout/guess.py", line 143, in repository_guess_layout
    repository._log.iter_changes(None, revnum, max(0, revnum-GUESS_SAMPLE_SIZE)), revnum, branch_path)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/logwalker.py", line 176, in iter_changes
    self._fetch_revisions(max(from_revnum, to_revnum), pb=pb)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/logwalker.py", line 248, in _fetch_revisions
    self.actual._transport.get_log(rcvr, [""], self.saved_revnum, to_revnum, 0, True, True, False, todo_revprops)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/transport.py", line 467, in get_log
    revprops)
SubversionException: ("REPORT of '/svnroot/pure-data/!svn/bc/12632': 200 OK (https://pure-data.svn.sourceforge.net)", 175002)

bzr 2.0.1 on python 2.5.4 (Linux-2.6.30-2-686-i686-with-debian-squeeze-sid)
arguments: ['/usr/bin/bzr', 'svn-import', 'https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/pd']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
  builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [0.95.0dev]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [2.0.1]
  fastimport /home/piem/.bazaar/plugins/fastimport [0.9.0dev]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [2.0.1]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [2.0.1]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [1.0.0]

*** 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
Jelmer Vernooij (jelmer) wrote :

This is a problem in Subversion itself. You can reproduce it e.g. by running:

svn log -v -rHEAD:1 https://pure-data.svn.sourceforge.net/svnroot/pure-data

affects: bzr-svn → subversion
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.