Closed (fixed)
Project:
Drush
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
23 Feb 2010 at 01:08 UTC
Updated:
9 Mar 2010 at 02:40 UTC
Jump to comment: Most recent file
drush rsync dev stage does not work, but drush rsync dev:%root stage:%root does. The problem is that in the former, there is no trailing slash on the source path, so you get an extra folder (and another copy of all of your files). That is, the former produces 'rsync /path/to/drupal /path/to/drupal' while the later correctly produces 'rsync /path/to/drupal /path/to/drupal/'.
Not sure when this broke, but I'll fix it shortly.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drush-rsync-root.patch | 1.56 KB | greg.1.anderson |
Comments
Comment #1
greg.1.anderson commentedTypo:
I meant to say that the later correctly produces 'rsync /path/to/drupal/ /path/to/drupal/'.
Comment #2
greg.1.anderson commentedThis patch insures that the drupal root will always end in a '/' when used in an rsync path, which will insure correct behavior per rsync path conventions.
Comment #3
moshe weitzman commentedcommitted.