~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/memorytree.py

  • Committer: Aaron Bentley
  • Date: 2007-08-31 19:38:52 UTC
  • mto: This revision was merged to the branch mainline in revision 2777.
  • Revision ID: abentley@panoramicfeedback.com-20070831193852-6ip22sbw058yib5u
Clean up docs, test matching blocks for reannotate

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        missing files, so is a no-op.
80
80
        """
81
81
 
82
 
    def get_file(self, file_id, path=None):
 
82
    def get_file(self, file_id):
83
83
        """See Tree.get_file."""
84
 
        if path is None:
85
 
            path = self.id2path(file_id)
86
 
        return self._file_transport.get(path)
 
84
        return self._file_transport.get(self.id2path(file_id))
87
85
 
88
86
    def get_file_sha1(self, file_id, path=None, stat_value=None):
89
87
        """See Tree.get_file_sha1()."""