~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/repository_implementations/test_fileid_involved.py

  • Committer: John Arbash Meinel
  • Date: 2007-10-26 19:08:21 UTC
  • mto: This revision was merged to the branch mainline in revision 2982.
  • Revision ID: john@arbash-meinel.com-20071026190821-ol840ac6hknunpqd
Switch from using Tree.inventory.root.file_id() to using Tree.path2id('')

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
    def fileids_altered_by_revision_ids(self, revision_ids):
175
175
        """This is a wrapper to strip TREE_ROOT if it occurs"""
176
176
        repo = self.branch.repository
177
 
        root_id = self.branch.basis_tree().inventory.root.file_id
 
177
        root_id = self.branch.basis_tree().path2id('')
178
178
        result = repo.fileids_altered_by_revision_ids(revision_ids)
179
179
        if root_id in result:
180
180
            del result[root_id]