bzr svn-import: 'CachingBzrMetaRevision' object has no attribute 'branch_path'

Bug #898780 reported by Ronald Blaschke on 2011-12-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
High
Jelmer Vernooij

Bug Description

On Ubuntu 11.10, bzr-svn 1.1.0, I got the following error during a "bzr svn-import."

bzr: ERROR: exceptions.AttributeError: 'CachingBzrMetaRevision' object has no attribute 'branch_path'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/commands.py", line 187, in run
    incremental=not restore, to_revnum=to_revnum, prefix=prefix)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/convert.py", line 363, in convert_repository
    RepositoryConverter(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/convert.py", line 250, in __init__
    revfinder, mapping, heads)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/convert.py", line 285, in _fetch_to_shared_repo
    needs_manual_check, pb=pb, heads=heads)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/svn/fetch.py", line 1213, in find_iter_revisions
    not m.is_branch_or_tag(revmeta.branch_path)):
AttributeError: 'CachingBzrMetaRevision' object has no attribute 'branch_path'

Related branches

Jelmer Vernooij (jelmer) on 2011-12-01
Changed in bzr-svn:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Jelmer Vernooij (jelmer)
status: Triaged → In Progress
Jelmer Vernooij (jelmer) on 2011-12-10
Changed in bzr-svn:
status: In Progress → Fix Committed
milestone: none → 1.1.2
Jelmer Vernooij (jelmer) on 2011-12-11
Changed in bzr-svn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers