Reading the code and the docs, it looks like this ought to download a project and then commit it to my SVN repo:
~/Sites/drupal-site/sites/all/modules joachim$ drush dl holding --version-control=svn --svnsync --svncommit
Project holding (6.x-1.2) downloaded to [success]
/Users/joachim/Sites/drupal-site/sites/all/modules/.
Drush was unable to get the svn status. Check that you have [error]
Subversion
installed and that the site is a subversion working copy.
The specific errors are below:
svn: Directory
'/Users/joachim/Sites/drupal-site/sites/all/modules/holding/.svn'
containing working copy admin area is missing
An error occurred at function : drush_pm_download [error]
Obviously the command svn status /Users/joachim/Sites/gulf-drupal-p3/sites/all/modules/holding is failing because there's no SVN stuff in that folder yet.
I've had a look at #197666: Subversion integration: svn add and svn commit after drush install but not sure I follow it all.
I'm using a single repo for the whole install of Drupal -- might that be the problem?
Comments
Comment #1
moshe weitzman commentedComment #2
owen barton commentedThe parent directory (i.e. modules) needs to already be version controlled (drush won't do an svn import). You should test with HEAD and also with debug (-d) to see exactly what it is doing.
Comment #3
greg.1.anderson commentedPresume that did the trick for the O.P.; please re-open with more information if necessary.