~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-03-30 08:04:28 UTC
  • mfrom: (5117.2.4 doc)
  • Revision ID: pqm@pqm.ubuntu.com-20100330080428-sg126ybh11u7vqpx
(mbp) fix typo (thanks fullermd)

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
        """Get the default mapping for this repository."""
226
226
        raise NotImplementedError(self.get_default_mapping)
227
227
 
228
 
    def _get_inventory_xml(self, revision_id):
229
 
        """See Repository._get_inventory_xml()."""
230
 
        return self._serialise_inventory(self.get_inventory(revision_id))
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
228
 
242
229
class ForeignBranch(Branch):
243
230
    """Branch that exists in a foreign version control system."""