remove / rm SVN Command
How to use remove / rm SVN (Subversion) Command in Linux / Windows?
Explanation
remove / rm command is used to eliminate a file or directory from a working copy or the repository.
Usage:
svn rm <filename>
or
svn remove <filename>
Example:
- To delete a file from server repo, you should have the same version of the file locally and commit after delete.
svn remove test1.txt
or
svn rm test1.txt
Output:-----------------------------------------------
D test1.txt
D - Deleting a file.
test1.txt. - Deleted filename.
--------------------------------------------------------
- Then commit after delete.
svn ci -m Delete
Result:
From the above cmd, the file 'test1.txt' will be eradicated from both the server and local repository.Dont forget to call
svn commit to remove the file from the server repo.