Wednesday, June 26, 2013

How to revert all the local changes in SVN

When working with SVN now and then you will need to revert changes that was done by you or by applying a patch. Recently i wanted to revert all the changes done locally and found a nice command that can get this done :). Thanks goes to the original poster here.

 svn st -q | awk '{print $2;}' | xargs svn revert 

Hope this helps someone who is looking for the same functionality.

pulasthi

Amazon Deals