Tried registering path as parent while ...

Bug #616860 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Medium
Jelmer Vernooij
Launchpad itself
Fix Released
Medium
Jelmer Vernooij

Bug Description

  affects bzr-svn
  status triaged
  importance medium

  affects launchpad-code

svn://<email address hidden>/lrut/trunk fails to import:

gwenhwyvar:~/tmp% BZR_PDB=1 bzr.dev branch
svn://<email address hidden>/lrut/trunk lrut
bzr: ERROR: exceptions.AssertionError: Tried registering
<CachingBzrRevisionMetadata for revision 54, path in repository
'a5bbb411-0f0d-4015-9a0d-7f7e39412970'> as parent while
<CachingBzrRevisionMetadata for revision 207, path in repository
'a5bbb411-0f0d-4015-9a0d-7f7e39412970'> already was parent for
<CachingBzrRevisionMetadata for revision 208, path trunk in repository
'a5bbb411-0f0d-4015-9a0d-7f7e39412970'>

Traceback (most recent call last):
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/commands.py", line 911, in
exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/commands.py", line 1111, in
run_bzr
    ret = run(*run_argv)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/commands.py", line 689, in
run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/commands.py", line 704, in
run
    return self._operation.run_simple(*args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/cleanup.py", line 135, in
run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/cleanup.py", line 165, in
_do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/builtins.py", line 1213, in
run
    source_branch=br_from)
  File "/home/jelmer/.bazaar/plugins/svn/remote.py", line 115, in sprout
    return super(SvnRemoteAccess, self).sprout(*args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/bzrdir.py", line 1268, in
sprout
    revision_id=revision_id, repository_policy=repository_policy)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/decorators.py", line 140, in
read_locked
    result = unbound(self, *args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/branch.py", line 1275, in
sprout
    self.copy_content_into(result, revision_id=revision_id)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/branch.py", line 1313, in
copy_content_into
    revision_id=revision_id)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/decorators.py", line 194, in
write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/branch.py", line 3362, in
copy_content_into
    self.source.tags.merge_to(self.target.tags)
  File "/home/jelmer/.bazaar/plugins/svn/tags.py", line 353, in merge_to
    tag_revmetas = self._get_tag_dict_revmeta(_from_revnum, _to_revnum)
  File "/home/jelmer/.bazaar/plugins/svn/tags.py", line 249, in
_get_tag_dict_revmeta
    revnum=self.branch._revnum)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/decorators.py", line 140, in
read_locked
    result = unbound(self, *args, **kwargs)
  File "/home/jelmer/.bazaar/plugins/svn/repository.py", line 1162, in
find_tags
    to_revnum=revnum)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/decorators.py", line 140, in
read_locked
    result = unbound(self, *args, **kwargs)
  File "/home/jelmer/.bazaar/plugins/svn/repository.py", line 1110, in
find_tags_between
    for kind, item in self._revmeta_provider.iter_all_changes(layout,
mapping.is_branch_or_tag, to_revnum, from_revnum, project=project):
  File "/home/jelmer/.bazaar/plugins/svn/revmeta.py", line 1434, in
iter_all_changes
    for kind, item in browser:
  File "/home/jelmer/.bazaar/plugins/svn/util.py", line 165, in next
    return self.it()
  File "/home/jelmer/.bazaar/plugins/svn/revmeta.py", line 1131, in next
    ret = self._iter.next()
  File "/home/jelmer/.bazaar/plugins/svn/revmeta.py", line 1205, in do
    c._set_direct_lhs_parent_revmeta(revmeta)
  File "/home/jelmer/.bazaar/plugins/svn/revmeta.py", line 331, in
_set_direct_lhs_parent_revmeta
    parent_revmeta, self._direct_lhs_parent_revmeta, self))
AssertionError: Tried registering <CachingBzrRevisionMetadata for
revision 54, path in repository 'a5bbb411-0f0d-4015-9a0d-7f7e39412970'>
as parent while <CachingBzrRevisionMetadata for revision 207, path in
repository 'a5bbb411-0f0d-4015-9a0d-7f7e39412970'> already was parent
for <CachingBzrRevisionMetadata for revision 208, path trunk in
repository 'a5bbb411-0f0d-4015-9a0d-7f7e39412970'>

r54 seems to be the last revision in which / was modified (properties
changed?)

This affects, among other things, lp:~javivf/lrut/trunk.

Related branches

Jelmer Vernooij (jelmer)
tags: added: code-import
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 616860] Re: Tried registering path as parent while ...

  affects bzr-svn
  status fixcommitted

Changed in bzr-svn:
status: Triaged → Fix Committed
Tim Penhey (thumper)
Changed in launchpad-code:
status: New → Triaged
importance: Undecided → Medium
tags: added: plugin-upgrade
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: none → 1.0.4
status: Fix Committed → Fix Released
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer)
Changed in launchpad-code:
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 10.09
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in bzr-svn:
milestone: 1.0.4 → none
tags: added: qa-needstesting
Tim Penhey (thumper)
Changed in launchpad-code:
status: Triaged → Fix Committed
Tim Penhey (thumper)
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in launchpad-code:
status: Fix Committed → Fix Released
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.