How do I delete a wrongly tagged directory in SVN?

freakwincy picture freakwincy · Jan 19, 2010 · Viewed 61.2k times · Source

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!

Answer

Erik Schierboom picture Erik Schierboom · Jan 19, 2010

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

svn rm foo/tags/YYYYMMDD