I accidentally deleted a SVN tag. Is it possible to recreate this tag easily ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A tag is just a copy of the SVN tree at a certain point. You should be able to recreate it in the same way that you created it. eg
svn cp trunk tags/my_tagIf you need it to be a tag of a particular revision, then you pass in the revision number with
-rAlternatively, you can probably restore the original tag by doing a “reverse merge” on the checkin where you deleted the tag – but that’s more complicated. Google for that if you’d like to try it instead.