/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_unversion.py

  • Committer: Vincent Ladeuil
  • Date: 2007-11-14 08:20:59 UTC
  • mfrom: (2990 +trunk)
  • mto: (2990.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2991.
  • Revision ID: v.ladeuil+lp@free.fr-20071114082059-bx03o3laiqfnyleb
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
 
119
119
        tree.lock_read()
120
120
        try:
121
 
            root_id = tree.inventory.root.file_id
 
121
            root_id = tree.get_root_id()
122
122
            paths = [(path, ie.file_id)
123
123
                     for path, ie in tree.iter_entries_by_dir()]
124
124
        finally:
149
149
 
150
150
        tree_a.lock_read()
151
151
        try:
152
 
            root_id = tree_a.inventory.root.file_id
 
152
            root_id = tree_a.get_root_id()
153
153
        finally:
154
154
            tree_a.unlock()
155
155