adding files in bulk to svn
One issue I've add, especially with updates to drupal modules, is the presence of many new files that need to be added to version control. It's a pain to go manually directory by directory and add one by one.
I found this command on the web that finds any new file (grepping for ?) and uses xargs to add it to version control. It works well, but one problem (and this might not be a problem but just my incomplete knowledge of svn), it seems to add files in new subdirectories without actually adding the directory first, and this has caused svn to complain. Otherwise it's helpful. Maybe I could even do a script that looks for directories first, adds any directory with ? to svn, then run this? Anyway, here's the code:
svn status | grep ^? | awk '{print $2}' | xargs svn add