~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bundle.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-19 10:59:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5803.
  • Revision ID: jelmer@samba.org-20110419105905-2c4x0senrlyon6vj
Add MockTree.get_file_revision.

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
        result.seek(0,0)
143
143
        return result
144
144
 
 
145
    def get_file_revision(self, file_id):
 
146
        return self.inventory[file_id].revision
 
147
 
145
148
    def contents_stats(self, file_id):
146
149
        if file_id not in self.contents:
147
150
            return None, None