How to download + svn commit with drush?
joachim - November 2, 2009 - 12:33
| Project: | Drush |
| Version: | All-Versions-2.1 |
| Component: | Documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Owen Barton |
| Status: | active |
Jump to:
Description
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?

#1