Daniel Doubrovkine bio photo

Daniel Doubrovkine

aka dB., @awscloud, former CTO @artsy, +@vestris, NYC

Email Twitter LinkedIn Github Strava
Creative Commons License


I’ve recently needed to update Waffle’s Tomcat from version 6.0.14 to 6.0.28. The Tomcat distribution lives in a ThirdParty/tomcat _folder and is committed to SVN. I needed to compare the two versions and figure out which files were deleted or added, then _svn add/delete them. That’s a rather time-consuming, error-prone and most annoying process.

We can do better. I added a new tool to the Svn2svn project, fs2svn that does just that. It uses FolderSync with SharpSVN and will perform the appropriate svn action for each file or directory. You can run it in simulation mode too. It won’t commit anything, you can examine the results and commit them on your time.

/simulationOnly[+|-]   Simulation mode, don't commit anything. Default value:'-' (short form /x)
/source:<string>       Source non-SVN path. (short form /s)
/destination:<string>  Target SVN path, default to current. (short form /d)
@<file>                Read response file for more options