~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-17 16:39:09 UTC
  • mto: This revision was merged to the branch mainline in revision 6470.
  • Revision ID: jelmer@samba.org-20120217163909-s7118krz6ijr2eyq
Use Tree.get_root_id.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2084
2084
        return osutils.lexists(self.abspath(path))
2085
2085
 
2086
2086
    def has_or_had_id(self, file_id):
2087
 
        if file_id == self.root_inventory.root.file_id:
 
2087
        if file_id == self.get_root_id():
2088
2088
            return True
2089
2089
        inv, inv_file_id = self._unpack_file_id(file_id)
2090
2090
        return inv.has_id(inv_file_id)