AnkhSvn undo/revert a commit

Habalusa picture Habalusa · Jan 18, 2011 · Viewed 8.2k times · Source

How do I undo/revert a change I've commited, with AnkhSvn/VS 2010. (I'm well aware you can't "delete" stuff in the subversion repository).

The issue is simple, You're working on HEAD(e.g. rev 100). You figure out something is broken. You view the history, and figure out rev 93 might be the issue. You want to revert the change done in rev 93, test, and commit those reverted changes.

While I know how to resort to the command line to "undo" this, How do you do this with AnkSvn from within Visual Studio ?

Answer

Sander Rijken picture Sander Rijken · Jan 18, 2011

Go to the history viewer (Right-click solution -> View Solution history), here right-click on a revision (or a selection of revisions), and use the items in the context menu to undo your changes.