0

I committed some sensitive data into the SVN by mistake. I don't want my collaborators to see these data. Can I revert the SVN to the previous state and remove the latest revision from SVN history (pretends that the latest commit were never made at all)?

powerboy
  • 10,523
  • 20
  • 63
  • 93
  • @juergend, I do not think this is an exact duplicate: there may exist a different solution to this particular problem that does not involve revision removal. – malenkiy_scot May 16 '12 at 07:20
  • @malenkiy_scot I diagree, the OP clearly asks to *remove the latest revision* – Uli Köhler Apr 04 '14 at 15:47

1 Answers1

0

Removing a revision from SVN is rather problematic (see the link @juergend has provided). It has been done that way on purpose. One possible workaround that comes to mind: branch from the revision before your accidental commit and disallow access to the original branch.

Community
  • 1
  • 1
malenkiy_scot
  • 16,415
  • 6
  • 64
  • 87