When I new a repository and add files, then do the "commit" command, the following message is showed.

"fossil: tree checksum does not match repository after commit"

In the reposotory, no files was added, only a checkin tag.
I think the checkin tag should not be recorded, if commit failed.