[Solved] SVN commit Error: is scheduled for addition, but is missing

After passing the Cr (code review) code review of SVN today, I want to execute SVN CI – M “XXXXXXX” (submit comments)   Issue = 3380305 “, but it is not submitted successfully. SVN reports an error

The contents are as follows:

Prompt: “SVN: commit failed (details follow): SVN: ‘/ xxx/YYY/(file or folder path)’ is scheduled for addition, but is missing  “。

Reason: the files/folders previously submitted with SVN are marked as “add” and waiting to be added to the warehouse. If you delete the file at this time, SVN will still try to submit the file when submitting, although its status is “missing”

Solution: use “SVN revert” on the command line  / XXX/YYY/”, in the graphical interface, right-click — revert and select the file. In this way, tell SVN to return the file to the previous state of “unversioned”, that is, do not make any changes to the file. At this time, execute the submit command again


Similar Posts: