This function probably should not leave a changeset lying around, can it delete it afterwards?