Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN - How to revert files marked for delete?

I was reorganizing some projects by copying (not moving) some folders under version control to a new structure. After that all my original files are marked for delete!

I can't find any alternative to unmark them for delete. Added files have the option to "Revert Add", but nothing for deleted.

I have tried "update" and "clean-up" but they refuse... // thanks.

like image 711
Max Kielland Avatar asked Dec 21 '22 18:12

Max Kielland


2 Answers

Right-click your checkout folder, or the directory you accidentally deleted the files from. From there, you should be able to select TortoiseSVN > Revert, and see all of your missing files.

Alternatively, you can open the Commit dialog and see your changes there: from there, you can also revert them (select, right-click) and then close the dialog without actually committing anything.

like image 40
Michael Madsen Avatar answered Jan 02 '23 13:01

Michael Madsen


one way that i know, is to select the ones that are marked as deleted, and just mark them as added, then commit. they will then be marked as "replaced" in the commit menu. once you commit nothing really happens to the files, they are just green again like normal.

like image 97
Sheac Avatar answered Jan 02 '23 13:01

Sheac