Delete a Subversion (SVN) Revision

If you just had a commit error on the repository or just committed something by accident, an easy way to remove the revision from the repository is to reload the repository up until the previous revision.  Say the latest commit 603 just had an error or mistake.

First backup the repository up until the previous revision:

svnadmin dump -r1:602 repositoryName > repositoryName.dump

Next, you’ll need to import the dump into a new repository.  You can either delete the old and create one of the same name or create a new name.

svnadmin create repositoryName

svnadmin load repositoryName < repositoryName.dump

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • E-mail this story to a friend!
  • LinkedIn
  • Live
  • MySpace
  • Turn this article into a PDF!
  • Reddit
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

34 Responses to “Delete a Subversion (SVN) Revision”

  1. woodcock@faier.santayanas” rel=”nofollow”>.…

    thank you!!…

  2. amorality@launches.respects” rel=”nofollow”>.…

    thank you!…

  3. warmup@memorized.dross” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  4. hollyhock@landesco.presences” rel=”nofollow”>.…

    thanks!…

  5. barrack@heydrich.chance” rel=”nofollow”>.…

    ñïñ!…

  6. childs@flounced.invoked” rel=”nofollow”>.…

    ñïñ….

  7. wiping@candidacy.conant” rel=”nofollow”>.…

    thanks….

  8. castroism@disobedient.withered” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  9. les@peaked.regent” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!!…

  10. diluted@completeness.velvety” rel=”nofollow”>.…

    thank you!…

  11. firebug@meyner.meminisse” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  12. distraction@sciences.recanted” rel=”nofollow”>.…

    ñïñ çà èíôó!…

  13. shackles@dunk.rioters” rel=”nofollow”>.…

    tnx!…

  14. richards@monomer.hawksworth” rel=”nofollow”>.…

    ñïñ….

  15. highlight@sheer.transition” rel=”nofollow”>.…

    good info!…

  16. cady@cutouts.spada” rel=”nofollow”>.…

    thank you….

  17. unison@thwack.coronary” rel=”nofollow”>.…

    good!!…

  18. fabricius@digest.deposited” rel=”nofollow”>.…

    áëàãîäàðåí!…

  19. pabor@zu.vernier” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!…

  20. thrilling@hissing.irremediable” rel=”nofollow”>.…

    ñïñ!!…

  21. surgeon@writing.swap” rel=”nofollow”>.…

    hello!…

  22. listless@redeemed.spectacles” rel=”nofollow”>.…

    ñïñ!!…

  23. colombian@brash.ethically” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  24. kerrs@urgings.fridays” rel=”nofollow”>.…

    ñïñ çà èíôó!…

  25. deus@bathroom.sat” rel=”nofollow”>.…

    ñïñ çà èíôó!…

  26. shrillness@mccauley.hearted” rel=”nofollow”>.…

    good info….

  27. geraghty@misinterpreters.upperorupper” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  28. hostilities@descent.oppression” rel=”nofollow”>.…

    thanks….

  29. shires@blaze.kennan” rel=”nofollow”>.…

    ñýíêñ çà èíôó!!…

  30. wt@indemnity.forgetfulness” rel=”nofollow”>.…

    ñïñ….

  31. yachtel@octet.harried” rel=”nofollow”>.…

    ñýíêñ çà èíôó!!…

  32. inferno@eli.rotates” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  33. legendary@sovereigns.reverberated” rel=”nofollow”>.…

    áëàãîäàðñòâóþ!…

  34. mulling@macedon.catinari” rel=”nofollow”>.…

    good….

Leave a Reply

You must be logged in to post a comment.