~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/memorytree.py

  • Committer: John Arbash Meinel
  • Date: 2007-11-13 16:42:56 UTC
  • mto: This revision was merged to the branch mainline in revision 2982.
  • Revision ID: john@arbash-meinel.com-20071113164256-yvnccvwwwpkxgef0
MemoryTree is not tested under the tree_implementations tests.
So we need a specific test to make sure that it is properly handling
the Tree.get_root_id() interface.

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: