Is there a quick way, command line tool or whatever, that will look at a folder and work out the SVN operations required to add new files, delete old ones, update existing and then commit everything?
I'm hooking this up via nant and don't want to have to mess around doing it myself.
thanks
You could build a script that parses the output of
svn status
(you can add--xml
if you like) and deletes whatever isn't there anymore (!
), adds whatever is unversioned (?
) and then commits everything.