~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml4.py

  • Committer: Martin Pool
  • Date: 2007-10-10 00:21:57 UTC
  • mfrom: (2900 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2901.
  • Revision ID: mbp@sourcefrog.net-20071010002157-utci0x44m2w47wgd
merge news

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