1

Possible Duplicate:
Subversion: Retract Accidental Checkin

Is there any way to delete the latest revision from SVN?

My latest SVNrevision has several files missing so I would like to switch to my previous revision and carry on from there. Is that possible? Any good suggestions are appreciated. Thanks.

Community
  • 1
  • 1
Siddharth
  • 555
  • 4
  • 19

2 Answers2

3

You cannot delete the revision, but you can "undo" it using reverse merge. Here's an example:

cd working/copy
svn merge -c -13 ^/repo/trunk
svn commit -m "Undoing change committed in r13."

See Undoing Changes in the docs.

Eugene Yarmash
  • 142,882
  • 41
  • 325
  • 378
1

using svn revision history, revert the folder back to previous revision (required) and then commit the changes. This should take you to your required status of the code

Asif
  • 78
  • 1
  • 8