Disclaimer - I am not an expert on SVN. After struggling for many hours to figure out the exact process, I narrowed it down to these steps. There may be an easier way to do this, but I couldn't figure it out. These particular steps work all the time for me. If there is a better way to accomplish this, feel free to post it in the comments section.
This is an example on removing a folder from an SVN repository without deleting it from the disk. Doing this incorrectly will lead to the parent folder showing the modified icon.
Consider the following repository - C:\svn_repository\trunk\java\
removeThisFolder\removeThisFile.txt
We wish to remove - removeThisFolder\removeThisFile.txt from the SVN repository.
![](https://3.bp.blogspot.com/-XMaAdNMsD50/VU9yWCTuz-I/AAAAAAAAEDk/iYoEsagCzuM/s400/01_remove_file_and_folder.png) |
The directory and the file inside it need to be removed |
![](https://1.bp.blogspot.com/-cBWlUWaM3Ng/VU9yYCYmXwI/AAAAAAAAEEM/BOIbKQu3ynI/s400/02_right_click_unversion.png) |
Right click on the folder and click on Unversion and add to ignore list and then select the folder |
![](https://4.bp.blogspot.com/-TKJmPAcq2AI/VU9yYOK_8oI/AAAAAAAAEDw/1yWyqmQOfyQ/s400/03_commit.png) |
Commit the changes |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx4WpE3rMZCReoo10UDR9m-3c-2_l7SWO1rUMsY5Zpnvx6WYD1cDJwHpmL3Eh_tf72AlM5zww2oR-tFA-lzOFvcQUVurebI6JhzvJV6bOiBgVGzqUmg5nIQdioppHkFfsphYqVKaxBlCY/s400/04_update_parent.png) |
Navigate to the parent folder, and click on SVN Update |
![](https://1.bp.blogspot.com/-9lMvFeLpYnc/VU9yZKBwFYI/AAAAAAAAED0/B3h3CIy-4t0/s400/05_commit.png) |
Now Commit the changes |
![](https://1.bp.blogspot.com/-os68dSo4FXM/VU9yZQ6oszI/AAAAAAAAED4/g3-VttrHQHI/s320/06_no_icon.png) |
This would make the Modified icon disappear |
No comments:
Post a Comment
Had to include word verification to prevent spam.