circular import repository -> revisiontree -> tree

Bug #63660 reported by Marien Zwart on 2006-10-03
Affects Status Importance Assigned to Milestone

Bug Description

python -c 'from bzrlib import repository' fails with:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 47, in <module>
    from bzrlib.revisiontree import RevisionTree
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 21, in <module>
    from bzrlib.tree import Tree
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 214, in <module>
    from bzrlib.revisiontree import RevisionTree
ImportError: cannot import name RevisionTree

in both bzr 0.11 and

Related branches

John A Meinel (jameinel) wrote :

The associated branch starts to avoid the circular import by properly deprecating bzrlib.tree.RevisionTree() and updating all internal callers to use bzrlib.revisiontree.RevisionTree().

Changed in bzr:
importance: Undecided → High
status: Unconfirmed → In Progress
John A Meinel (jameinel) wrote :

This has been merged for bzr-0.12

Changed in bzr:
status: In Progress → Fix Released
John A Meinel (jameinel) wrote :

Sorry, I was thinking a different bug, not merged yet.

Changed in bzr:
status: Fix Released → Fix Committed
John A Meinel (jameinel) on 2006-10-23
Changed in bzr:
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