Hi Jake,
When creating an omega subtheme with Drush on an SVN-managed site, it copies the .svn folders, so the working copy gets confused and won't add it.
I'm not sure which command it's running, but rsync has the -C flag to exclude CVS and SVN folders.

Members fund testing for the Drupal project. Drupal Association Learn more


thebuckst0p’s picture

1.52 KB

Here's a patch which replaces `cp -R` with `rsync -rC`. It also replaces the semicolons between the commands with `&&` which chains them so if one fails, the process stops (which seems to make more sense). I haven't tested this, though, and not everyone has rsync, so I'm not sure how you'd want to handle it.

Ben B

himerus’s picture

Thank you for this... I'll play around with it.

Sorry for not responding sooner, but for some reason I wasn't getting emails from this issue queue, and things just slipped through the cracks.

jtse’s picture

I ran into the same issue with 7.x-3.0-rc3 of omega_tools

jonivanbogaert’s picture

Created a patch for filtering out .svn folders when creating new theme with omega_tools (Drupal 7 - Omega tools 7.x-3.0-rc4)

DamienMcKenna’s picture

Version: 6.x-1.0-beta1 » 7.x-3.x-dev
Status: Active » Needs review
653 bytes

This version (for 7.x-3.x) replaces the individual checks with an array of values and checks the array; I also added '.git' and 'CVS' to the list of items to ignore.

DamienMcKenna’s picture

Title: Drush copies .svn folders » Don't copy .svn, .git, CVS directories during subtheme creation

Updating the title.

jonhattan’s picture