The svn delete command deletes an item from a working copy or the repository. The synopsis is:
svn delete <url or path file>
or
svn del <url or path file>
or
svn remove <url or path file>
or
svn rm <url or path file>
To delete a file or a directory from your working copy use the following command:
After that, you can see the local status
The output will be:
If you want delete the file in repository then you must execute the commit
svn ci -m "Delete MyFile"
Instead to delete an item from repository, for example, an obsolete branch, use the following command:
svn delete https://mysvnrep/svn/myproject/branches/myproject-0.0.1 -m "delete obsolete branch"
No comments:
Post a Comment