/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/xml5.py

  • Committer: Martin Pool
  • Date: 2006-05-23 05:26:29 UTC
  • mto: This revision was merged to the branch mainline in revision 1726.
  • Revision ID: mbp@sourcefrog.net-20060523052629-b7f65f1b5a1116a2
todo

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
    def _pack_entry(self, ie):
46
46
        """Convert InventoryEntry to XML element"""
 
47
        # TODO: should just be a plain assertion
47
48
        if not InventoryEntry.versionable_kind(ie.kind):
48
49
            raise AssertionError('unsupported entry kind %s' % ie.kind)
49
50
        e = Element(ie.kind)