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.

Comments

StatusFileSize
new1.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

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.

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

StatusFileSize
new541 bytes

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

Version:6.x-1.0-beta1» 7.x-3.x-dev
Status:Active» Needs review
StatusFileSize
new653 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.

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

Updating the title.