1893
1893
firstline = xml.split('\n', 1)[0]
1894
1894
if (not 'revision_id="' in firstline or
1895
1895
'format="7"' not in firstline):
1898
1898
xml = self._create_basis_xml_from_inventory(new_revision, inv)
1899
1899
self._write_basis_inventory(xml)
1900
1900
except (errors.NoSuchRevision, errors.RevisionNotPresent):