~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-01 12:21:33 UTC
  • mfrom: (4988.5.3 private-get-inventory-xml)
  • Revision ID: pqm@pqm.ubuntu.com-20100201122133-g8vkmptowez6qaqi
(Jelmer) Make Repository.get_inventory_xml private.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2450
2450
        return self._serializer.format_num
2451
2451
 
2452
2452
    @needs_read_lock
2453
 
    def get_inventory_xml(self, revision_id):
2454
 
        """Get inventory XML as a file object."""
 
2453
    def _get_inventory_xml(self, revision_id):
 
2454
        """Get serialized inventory as a string."""
2455
2455
        texts = self._iter_inventory_xmls([revision_id], 'unordered')
2456
2456
        try:
2457
2457
            text, revision_id = texts.next()