Trying to commit results in endless loop of commit windows

I’m trying to publish a small program (mbed-os, bare-metal version).

First it asks me to do a “Revision Commit” which produces a pop-up window which asks for a commit message. I type a short commit message and press “OK”. This produces a pop-up window called “Revision Commit” which says “Commiting, please wait…”, then after half a second that window disappears, to be replaced by a window called “Checking Dependencies” which says “Please wait…” After half a second that window disappears, to be replaced by the original “Revision Commit” window asking for another commit messsage. I type one in and press “OK” and the cycle repeats. Over and over again, until I lose patience and press “Cancel”.

The program compiles and runs fine. Any ideas what is going wrong, and how I can get out of this endless loop of commit messages so I can publish the program? Any thoughts would be welcome.