How Do I Delete Misnamed Tagged Directory Already Committed?
Posted
by
Teno
on Super User
See other posts from Super User
or by Teno
Published on 2012-09-24T07:29:33Z
Indexed on
2012/09/24
9:40 UTC
Read the original article
Hit count: 225
I'm new to using the SVN system and having hard time figuring out how to delete files uploaded mistakenly.
What I've done:
- Committed the trunk folder with right clicking on "SVN Commit"
- Right clicked and choose "TortoiseSVN" -> "Branch/Tag"
- In the section of "To path:" in the "Branch/Tag - Tortoise" window, I typed
/*mydirectory*/tags/*1.0.11*
where 1.0.11 was supposed to be 1.0.1.1 - After realizing 1.0.11 was a mistake, to remove the directory, I right clicked on the 1.0.11 folder in Windows and selected "TortoiseSVN" -> "Delete"
It deleted the folder in Windows but does not delete the folder in the remote server.
According to this page,http://stackoverflow.com/questions/2092344/how-do-i-delete-a-wrongly-tagged-directory-in-svn, a command can be used and I tried to type svn
in the command prompt window but it gives svn is not recognized as an internal or external command.
This should be a very basic question but I could not find relevant pages. Some pages suggest to use revert
but I've already committed 1.0.1.1 so I'm afraid doing revert causes the newest one to be deleted.
Thanks for your information.
© Super User or respective owner