bzr failed to import large SVN repository

Stephen Bevan stephen.bevan at gmail.com
Thu Mar 13 21:48:40 GMT 2008


I've successfully managed to import some small SVN branches into bzr
but when I tried importing one that consists of around 11,000 files
and containing 17,000+ commits then bzr ran for about 20 minutes
(during which time the process size bloated out to over 1GB) and then
produced the following output.  I'm sending it because the script asks
me to and it may be of some help to the bzr-svn developers rather than
because I need a fix.   The same SVN repository imports into git
quickly and without any incident so I'll just continue to use git for
this repository.

$ bzr branch http://stephen.local/svn/projects/all main
bzr: ERROR: libsvn._core.SubversionException: ("REPORT request failed
on '/svn/projects/!svn/vcc/default'", 175002)

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
817, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
779, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
477, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 885, in run
    possible_transports=[to_transport])
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/format.py",
line 84, in sprout
    result_repo = repo.clone(result, revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line
127, in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line
489, in clone
    self.copy_content_into(dest_repo, revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line
412, in copy_content_into
    return InterRepository.get(self, destination).copy_content(revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/fetch.py",
line 490, in copy_content
    reporter.finish_report(pool)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/errors.py",
line 70, in convert
    raise convert_error(e)
SubversionException: ("REPORT request failed on
'/svn/projects/!svn/vcc/default'", 175002)

bzr 0.90.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'branch',
'http://stephen.local/svn/projects/all, 'main']

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

$ uname -a
Linux sbevan-desktop 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC
2008 i686 GNU/Linux
$



More information about the bazaar mailing list