Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#5 | omega_tools-n836002-5.patch | 653 bytes | DamienMcKenna |
#4 | 836002_omegatools_svn_patch.patch | 541 bytes | jonivanbogaert |
#1 | omega-drush.patch | 1.52 KB | thebuckst0p |
Comments
Comment #1
thebuckst0p CreditAttribution: thebuckst0p commentedHere'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
Comment #2
himerus CreditAttribution: himerus commentedThank 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.
Comment #3
jtse CreditAttribution: jtse commentedI ran into the same issue with 7.x-3.0-rc3 of omega_tools
Comment #4
jonivanbogaert CreditAttribution: jonivanbogaert commentedCreated a patch for filtering out .svn folders when creating new theme with omega_tools (Drupal 7 - Omega tools 7.x-3.0-rc4)
Comment #5
DamienMcKennaThis 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.
Comment #6
DamienMcKennaUpdating the title.
Comment #7
jonhattanTwi useful functions in drush:
http://api.drush.org/api/drush/includes!drush.inc/function/drush_version...
http://api.drush.org/api/drush/includes!filesystem.inc/function/drush_sc...