~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/foreign.py

  • Committer: Jelmer Vernooij
  • Date: 2010-01-29 17:49:26 UTC
  • mto: (4988.6.2 private-serialise-inv)
  • mto: This revision was merged to the branch mainline in revision 4991.
  • Revision ID: jelmer@samba.org-20100129174926-1kuumihsesoscvwl
Remove Repository.get_inventory_sha1().

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
        """See Repository.get_inventory_xml()."""
230
230
        return self.serialise_inventory(self.get_inventory(revision_id))
231
231
 
232
 
    def get_inventory_sha1(self, revision_id):
233
 
        """Get the sha1 for the XML representation of an inventory.
234
 
 
235
 
        :param revision_id: Revision id of the inventory for which to return
236
 
         the SHA1.
237
 
        :return: XML string
238
 
        """
239
 
 
240
 
        return osutils.sha_string(self.get_inventory_xml(revision_id))
241
 
 
242
232
    def get_revision_xml(self, revision_id):
243
233
        """Return the XML representation of a revision.
244
234