I have a rather complicated deployment setup for our Drupal site, which is a combination of CVS and SVN. We use CVS to get the latest versions of modules and deploy using SVN. Unfortunately, when CVS updates delete files, Subversions complains because they were not deleted in SVN. I am trying to execute some shell and Perl scripts to run the svn rm for all of these files that have already been deleted from the file system, but I did not get far. What I'm still like this:
svn st | grep !
A list of all files deleted from the file system is displayed here:
! panels_views/panels_views.info ! panels_views/panels_views.admin.inc ! contexts/term.inc ! contexts/vocabulary.inc ! contexts/terms.inc ! contexts/node_edit_form.inc ! contexts/user.inc ! contexts/node_add_form.inc ! contexts/node.inc etc. . .
However, I want to somehow run svn del on each of these lines. How can I get this output in my Perl script, or, alternatively, how can I run svn del on each of these lines?
Edit: The exact command I used with some help from everyone was
svn st | grep ^! | cut -c 9- | xargs svn del
shell svn
jergason
source share