~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/foreign.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-17 15:20:39 UTC
  • mfrom: (5035.2.1 nomoregetrevision)
  • Revision ID: pqm@pqm.ubuntu.com-20100217152039-2isgqaajrhd8deul
(Jelmer) Remove Repository.get_revision_xml().

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_revision_xml(self, revision_id):
233
 
        """Return the XML representation of a revision.
234
 
 
235
 
        :param revision_id: Revision for which to return the XML.
236
 
        :return: XML string
237
 
        """
238
 
        return self._serializer.write_revision_to_string(
239
 
            self.get_revision(revision_id))
240
 
 
241
232
 
242
233
class ForeignBranch(Branch):
243
234
    """Branch that exists in a foreign version control system."""