The minimal reproducible failure is as follows:
> mkdir test && cd test
> svn co https://svn.server.com/repo .
> vim php/main.php
> svn commit
Sending php/main.php
Transmitting file data ..svn: Commit failed (details follow):
svn: File not found: Transaction »52-1r«, Path »/php/main.php«
svn: Your commit message was left in a temporary file:
What puzzles me is that this is a clean checkout, nobody has touched the repo (an svn update
before the commit makes no difference) and the file does exist (I can ls
it or vim
it).
The only notable thing here is that the folder name which contains main.php has changed between r1 and r52.
Where does that issue come from, why can that file not be found when it's obviously there? And how can I fix this?
svn cleanup
and then do a commit. If that doesn't help, you'll have to get onto the server and dosvnadmin lslocks
andsvnadmin lstxns
. You might have to usesvnadmin rmlocks
andsvnadmin rmtxns
to clean up.svn cleanup
didn't fix the commit. And bothsvnadmin lslocks
andsvnadmin lstxns
return nothing.