~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml4.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-10-09 00:18:32 UTC
  • mfrom: (2889.1.3 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20071009001832-kl9ak6vzgz6d4fpy
(robertc) Fold KnitRepositry3 into KnitRepository and move xml serialisation logic from it into the serializer classes. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        return e
59
59
 
60
60
 
61
 
    def _unpack_inventory(self, elt):
 
61
    def _unpack_inventory(self, elt, revision_id=None):
62
62
        """Construct from XML Element
 
63
 
 
64
        :param revision_id: Ignored parameter used by xml5.
63
65
        """
64
66
        assert elt.tag == 'inventory'
65
67
        root_id = elt.get('file_id') or ROOT_ID