/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: Marius Kruger
  • Date: 2009-10-31 23:07:35 UTC
  • mfrom: (4780 +trunk)
  • mto: (4867.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4868.
  • Revision ID: marius.kruger@enerweb.co.za-20091031230735-4hyr0u14nci0xu7b
merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        format = elt.get('format')
40
40
        if format is not None:
41
41
            if format != '5':
42
 
                raise BzrError("invalid format version %r on inventory"
43
 
                                % format)
 
42
                raise errors.BzrError("invalid format version %r on inventory"
 
43
                                      % format)
44
44
        data_revision_id = elt.get('revision_id')
45
45
        if data_revision_id is not None:
46
46
            revision_id = cache_utf8.encode(data_revision_id)