~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml4.py

  • Committer: Robert Collins
  • Date: 2006-07-21 01:37:47 UTC
  • mto: (1852.9.1 Tree.compare().)
  • mto: This revision was merged to the branch mainline in revision 1890.
  • Revision ID: robertc@robertcollins.net-20060721013747-9752a96bc423aa76
Make iter(Tree) consistent for all tree types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    
34
34
    def _pack_inventory(self, inv):
35
35
        """Convert to XML Element"""
 
36
        # v4 serialization is not used any more.
 
37
        raise NotImplementedError(self._pack_inventory)
36
38
        e = Element('inventory')
37
39
        e.text = '\n'
38
40
        if inv.root.file_id not in (None, ROOT_ID):