Subversion resolve all conflicts quickly

nategood picture nategood · Jul 10, 2009 · Viewed 20.7k times · Source

When I have several conflicts, is there a way to resolve them all by just telling SVN to keep the version that is in the repository? Unfortunately, we're still using 1.4.

Answer

Nick Meyer picture Nick Meyer · Jul 10, 2009

I believe if you run the command svn revert . -R, you basically undo all changes to your working copy. If there are conflicted files, SVN tosses out your changes and uses the revision you've most recently updated to.

Of course, this also gets rid of changes to files that aren't conflicted.