If you happen to remove, rename, or delete a file or folder and forgot to use the SVN command to do so in Windows and instead used the file system commands, how do you correct this with TortoiseSVN?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you deleted a file, but forgot to use the SVN command, then right-click the folder that contained the file and choose “Check for Modifications.” In the resulting dialog, the deleted file will show up with status as “missing.” There, you can right-click it and choose “delete” for Subversion to understand you want it gone. If you don’t want it gone, you can right-click it and choose “revert.”
If you renamed, moved, or copied it, then your best bet is to rename/move it back or delete the copy and then use the appropriate Tortoise command correctly. Otherwise you’ll lose the history link between the old file and the new file.