/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/tree_implementations/__init__.py

  • Committer: John Arbash Meinel
  • Date: 2007-10-26 19:18:48 UTC
  • mto: This revision was merged to the branch mainline in revision 2982.
  • Revision ID: john@arbash-meinel.com-20071026191848-kn2zemp87fo5cavb
Prefer tree.get_root_id() as more explicit than tree.path2id('')
Besides, it turns out that all trees had that implemented anyway.
And WT4 already had an implementation that did not require loading the full inventory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
262
262
            self.build_tree(paths[1:])
263
263
        except UnicodeError:
264
264
            raise tests.TestSkipped('filesystem does not support unicode.')
265
 
        if tree.path2id('') is None:
 
265
        if tree.get_root_id() is None:
266
266
            # Some trees do not have a root yet.
267
267
            tree.add(paths, file_ids)
268
268
        else: