~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/foreign.py

  • Committer: Jelmer Vernooij
  • Date: 2010-01-31 12:18:35 UTC
  • mto: This revision was merged to the branch mainline in revision 4995.
  • Revision ID: jelmer@samba.org-20100131121835-wady4sv493my0buq
Rename Repository.serialise_inventory to Repository._serialise_inventory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2008, 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2008 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
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()."""
 
228
    def get_inventory_xml(self, revision_id):
 
229
        """See Repository.get_inventory_xml()."""
230
230
        return self._serialise_inventory(self.get_inventory(revision_id))
231
231
 
232
232
    def get_revision_xml(self, revision_id):