bzr Assertion error registering parent when updating from svn branch

Bug #422348 reported by Deeksy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Incomplete
Undecided
Unassigned

Bug Description

When trying to update a subversion repository, I am continually getting the following assertion error:

bzr: ERROR: exceptions.AssertionError: Tried registering <CachingRevisionMetadat
a for revision 9255, path Healthcare/Projects/Development/Trunk in repository '1
91d15b8-28d4-ac41-a46c-c8c71d184fdd'> as parent while None already was parent fo
r <CachingRevisionMetadata for revision 9256, path Healthcare/Projects/Developme
nt/Trunk in repository '191d15b8-28d4-ac41-a46c-c8c71d184fdd'>

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 835, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1030, in run_bzr
  File "bzrlib\commands.pyo", line 647, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 1400, in run
  File "bzrlib\workingtree.pyo", line 2208, in update
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\branch.pyo", line 2429, in update
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\branch.pyo", line 943, in pull
  File "\plugins\svn\branch.py", line 725, in pull
  File "\plugins\svn\branch.py", line 660, in update_revisions
  File "\plugins\svn\fetch.py", line 1241, in fetch
  File "\plugins\svn\fetch.py", line 1054, in find_until
  File "\plugins\svn\fetch.py", line 1010, in find_mainline
  File "\plugins\svn\repository.py", line 753, in _iter_reverse_revmeta_mapping_
history
  File "C:/Program Files (x86)/Bazaar/plugins\svn\revmeta.py", line 938, in next

  File "C:/Program Files (x86)/Bazaar/plugins\svn\revmeta.py", line 993, in next

  File "C:/Program Files (x86)/Bazaar/plugins\svn\revmeta.py", line 1386, in con
vert
  File "C:/Program Files (x86)/Bazaar/plugins\svn\revmeta.py", line 287, in _set
_direct_lhs_parent_revmeta
AssertionError: Tried registering <CachingRevisionMetadata for revision 9255, pa
th Healthcare/Projects/Development/Trunk in repository '191d15b8-28d4-ac41-a46c-
c8c71d184fdd'> as parent while None already was parent for <CachingRevisionMetad
ata for revision 9256, path Healthcare/Projects/Development/Trunk in repository
'191d15b8-28d4-ac41-a46c-c8c71d184fdd'>

bzr 1.18 on python 2.5.4 (win32)
arguments: ['bzr', 'update']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [1.18]
  extmerge C:\Program Files (x86)\Bazaar\plugins\extmerge [unknown]
  launchpad C:\Program Files (x86)\Bazaar\plugins\launchpad [1.18]
  netrc_credential_store C:\Program Files (x86)\Bazaar\plugins\netrc_credential_
store [1.18]
  qbzr C:\Program Files (x86)\Bazaar\plugins\qbzr [0.13.1]
  rebase C:\Program Files (x86)\Bazaar\plugins\rebase [0.5.3]
  svn C:\Program Files (x86)\Bazaar\plugins\svn [0.6.4]
*** 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.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Is this a public repo, or do you perhaps have a way to reproduce this problem?

Revision history for this message
Deeksy (cdekievit) wrote : Re: [Bug 422348] Re: bzr Assertion error registering parent when updating from svn branch
Download full text (3.8 KiB)

It's not a public repo, and haven't had this problem on other repositories
unfortunately (though I don't hook up other repositories to bazaar very
often).
I'll see if I can reproduce it, but I've been using the repository for about
3 months in this fashion, and this is the first time I've come across this
error. If it helps, the subversion version on the server is 1.6.3.

Cheers,
Christian

2009/9/1 Jelmer Vernooij <email address hidden>

> Is this a public repo, or do you perhaps have a way to reproduce this
> problem?
>
> --
> bzr Assertion error registering parent when updating from svn branch
> https://bugs.launchpad.net/bugs/422348
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Subversion branch support for Bazaar: New
>
> Bug description:
> When trying to update a subversion repository, I am continually getting the
> following assertion error:
>
> bzr: ERROR: exceptions.AssertionError: Tried registering
> <CachingRevisionMetadat
> a for revision 9255, path Healthcare/Projects/Development/Trunk in
> repository '1
> 91d15b8-28d4-ac41-a46c-c8c71d184fdd'> as parent while None already was
> parent fo
> r <CachingRevisionMetadata for revision 9256, path
> Healthcare/Projects/Developme
> nt/Trunk in repository '191d15b8-28d4-ac41-a46c-c8c71d184fdd'>
>
> Traceback (most recent call last):
> File "bzrlib\commands.pyo", line 835, in exception_to_return_code
> File "bzrlib\commands.pyo", line 1030, in run_bzr
> File "bzrlib\commands.pyo", line 647, in run_argv_aliases
> File "bzrlib\builtins.pyo", line 1400, in run
> File "bzrlib\workingtree.pyo", line 2208, in update
> File "bzrlib\decorators.pyo", line 192, in write_locked
> File "bzrlib\branch.pyo", line 2429, in update
> File "bzrlib\decorators.pyo", line 192, in write_locked
> File "bzrlib\branch.pyo", line 943, in pull
> File "\plugins\svn\branch.py", line 725, in pull
> File "\plugins\svn\branch.py", line 660, in update_revisions
> File "\plugins\svn\fetch.py", line 1241, in fetch
> File "\plugins\svn\fetch.py", line 1054, in find_until
> File "\plugins\svn\fetch.py", line 1010, in find_mainline
> File "\plugins\svn\repository.py", line 753, in
> _iter_reverse_revmeta_mapping_
> history
> File "C:/Program Files (x86)/Bazaar/plugins\svn\revmeta.py", line 938, in
> next
>
> File "C:/Program Files (x86)/Bazaar/plugins\svn\revmeta.py", line 993, in
> next
>
> File "C:/Program Files (x86)/Bazaar/plugins\svn\revmeta.py", line 1386, in
> con
> vert
> File "C:/Program Files (x86)/Bazaar/plugins\svn\revmeta.py", line 287, in
> _set
> _direct_lhs_parent_revmeta
> AssertionError: Tried registering <CachingRevisionMetadata for revision
> 9255, pa
> th Healthcare/Projects/Development/Trunk in repository
> '191d15b8-28d4-ac41-a46c-
> c8c71d184fdd'> as parent while None already was parent for
> <CachingRevisionMetad
> ata for revision 9256, path Healthcare/Projects/Development/Trunk in
> repository
> '191d15b8-28d4-ac41-a46c-c8c71d184fdd'>
>
> bzr 1.18 on python 2.5.4 (win32)
> arguments: ['bzr', 'update']
> encoding: 'cp1252', fsenc: 'mbcs', lang: None
> plugins:
> bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [1...

Read more...

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

What sort of changes does revision 9256 contain? Could you perhaps share the "svn log -v -r9256" output ? (perhaps with mangled file names)

Changed in bzr-svn:
status: New → Incomplete
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.