/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/memorytree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-11-13 17:48:49 UTC
  • mfrom: (2946.3.5 tree_root_id)
  • Revision ID: pqm@pqm.ubuntu.com-20071113174849-2zsajpakcs8uy1bo
(John Arbash Meinel) Consolidate all calls to get the root id of a tree to use Tree.get_root_id()

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
        stream = self._file_transport.get(path)
93
93
        return sha_file(stream)
94
94
 
 
95
    def get_root_id(self):
 
96
        return self.path2id('')
 
97
 
95
98
    def _comparison_data(self, entry, path):
96
99
        """See Tree._comparison_data."""
97
100
        if entry is None: