Very slow bzr-svn checkout that ultimately results in an error

Bug #438928 reported by The Fiddler
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Medium
Jelmer Vernooij

Bug Description

Using Bazaar 2.0.0, I cannot checkout from a sourceforge SVN repository. The repository I am trying to checkout is https://opentk.svn.sourceforge.net/svnroot/opentk/trunk (~2200 commits).

The process takes somewhere between 1 and 2 hours and results in the following error. This is repeatable and occurs on both Ubuntu and Windows:

Initialising Subversion metadata cache in [snipped]\svn-cache\ebc5dd9b-fb1d-0410-b6f8-d24c324e9604.

bzr: ERROR: exceptions.AssertionError: Tried registering <CachingRevisionMetadata for revision 20, path in repository 'ebc5dd9b-fb1d-0410-b6f8-d24c324e9604'> as parent while <CachingRevisionMetadata for revision 76, path in repository 'ebc5dd9b-fb1d-0410-b6f8-d24c324e9604'> already was parent for <CachingRevisionMetadata for revision 77, path trunk in repository 'ebc5dd9b-fb1d-0410-b6f8-d24c324e9604'>

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 842, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1037, in run_bzr
  File "bzrlib\commands.pyo", line 654, in run_argv_aliases
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\commands.py", line 774, in run
  File "bzrlib\commands.pyo", line 1037, in run_bzr
  File "bzrlib\commands.pyo", line 654, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 1336, in run
  File "C:/Program Files/Bazaar/plugins\svn\branch.py", line 337, in create_checkout
  File "C:/Program Files/Bazaar/plugins\svn\branch.py", line 282, in _create_heavyweight_checkout
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\branch.pyo", line 948, in pull
  File "C:/Program Files/Bazaar/plugins\svn\branch.py", line 740, in pull
  File "C:/Program Files/Bazaar/plugins\svn\tags.py", line 337, in merge_to
  File "C:/Program Files/Bazaar/plugins\svn\tags.py", line 238, in _get_tag_dict_revmeta
  File "bzrlib\decorators.pyo", line 138, in read_locked
  File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 1156, in find_tags
  File "bzrlib\decorators.pyo", line 138, in read_locked
  File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 1104, in find_tags_between
  File "C:/Program Files/Bazaar/plugins\svn\revmeta.py", line 1426, in iter_all_changes
  File "C:/Program Files/Bazaar/plugins\svn\revmeta.py", line 934, in next
  File "C:/Program Files/Bazaar/plugins\svn\revmeta.py", line 1125, in next
  File "C:/Program Files/Bazaar/plugins\svn\revmeta.py", line 1197, in do
  File "C:/Program Files/Bazaar/plugins\svn\revmeta.py", line 283, in _set_direct_lhs_parent_revmeta
AssertionError: Tried registering <CachingRevisionMetadata for revision 20, path in repository 'ebc5dd9b-fb1d-0410-b6f8-d24c324e9604'> as parent while <CachingRevisionMetadata for revision 76, path in repository 'ebc5dd9b-fb1d-0410-b6f8-d24c324e9604'> already was parent for <CachingRevisionMetadata for revision 77, path trunk in repository 'ebc5dd9b-fb1d-0410-b6f8-d24c324e9604'>

bzr 2.0.0 on python 2.5.4 (Windows-XP-5.1.2600-SP3)
arguments: ['C:\\Program Files\\Bazaar\\bzr.exe', 'qsubprocess', '"checkout" "https://opentk.svn.sourceforge.net/svnroot/opentk/trunk" "C:\\Documents and Settings\\vm\\My Documents\\Projects\\opentk\\trunk"']
encoding: 'cp1253', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.0.0]
  explorer C:\Program Files\Bazaar\plugins\explorer [0.8.2]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.0.0]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store [2.0.0]
  qbzr C:\Program Files\Bazaar\plugins\qbzr [0.14.2]
  rebase C:\Program Files\Bazaar\plugins\rebase [0.5.3]
  svn C:\Program Files\Bazaar\plugins\svn [1.0.0]
  upload C:\Program Files\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Program Files\Bazaar\plugins\xmloutput [0.8.5]

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

Related branches

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 438928] [NEW] Very slow bzr-svn checkout that ultimately results in an error

   affects bzr-svn
   status triaged
   importance medium

Revision history for this message
Martin Pool (mbp) wrote :

Doesn't look like a core bzr bug; please reopen if it is.

affects: bzr → null
Jelmer Vernooij (jelmer)
Changed in null:
status: New → Invalid
Changed in bzr-svn:
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: none → 1.0.4
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
no longer affects: null
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.