Unable to commit to Subversion

前端 未结 18 1040
梦谈多话
梦谈多话 2021-02-06 23:18

I have a client who had to rebuild his automated build server. He checked out his project folder from my subversion server but is now no longer able to commit - he gets this err

18条回答
  •  迷失自我
    2021-02-06 23:47

    You can clear this error w/out a reboot:

    1. Identify (or create) a directory in the root SVN repository that was not a part of the failed commit.

    2. Create a new file in the directory from step 1.

    3. Commit the new file (and directory if created in step 1). Because the file is new, it doesn't conflict w/the previous commit and can update the revision # on the server.

    4. Commit the original files/directories.

    5. Delete the new file (and directory if created in step 1).

    6. Commit the entire tree.

    **Steps 5 & 6 aren't required, but I like to keep my repository tidy...

    I get this error a lot b/c SVN frequently conks out in the middle of committing my large files, which in turn causes subsequent commits to try to write to the revision that was interrupted.

提交回复
热议问题