/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: Wouter van Heyst
  • Date: 2006-06-06 12:06:20 UTC
  • mfrom: (1740 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: larstiq@larstiq.dyndns.org-20060606120620-50066b0951e4ef7c
merge bzr.dev 1740

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)