Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I delete a wrongly tagged directory in SVN?

Tags:

svn

tags

I have a project Foo which I errantly created the wrong tag for. It should've read 'rMMDDYYYY' but I tagged it 'YYYYMMDD' instead. I realized my mistake after having commited my change. I now want to remove the YYYYMMDD folder under the tags directory and leave the rMMDDYYYY folder instead. i.e.

before: foo/ foo/trunk/ foo/branches/ foo/tags/ foo/tags/YYYYMMDD/ foo/tags/rMMDDYYYY

after: foo/ foo/trunk/ foo/branches/ foo/tags/ foo/tags/rMMDDYYYY

Any idea how I can do this please? Thanks in advance!

like image 306
freakwincy Avatar asked Jan 19 '10 09:01

freakwincy


People also ask

How do I delete a directory in svn?

To remove a file from a Subversion repository, change to the directory with its working copy and run the following command: svn delete file… Similarly, to remove a directory and all files that are in it, type: svn delete directory…

How do I delete a subversion repository?

Show activity on this post. Now, after performing "Click OK" you need to go to truck (or place where your project is saved in SVN) then select project(which you want to Delete) then right click -> Delete. This Will Delete project from subversion.

How do I view tags in svn?

and tags, and then just "ls". You can run "svn list -h" for more info on list.

How do I delete a branch in TortoiseSVN?

right click on working copy top directory (i.e. the folder that contains the . svn folder); click on TortoiseSVN -> Repo-browser; right click on the corresponding folder on the left side of the window (should be pre-selected); click on Delete...; write log message and hit [OK].


1 Answers

If you want to remove the directory then use the svn rm command:

svn rm foo/tags/YYYYMMDD 
like image 66
Erik Schierboom Avatar answered Sep 28 '22 01:09

Erik Schierboom