You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If the user path is the same for the source and the destination, then
48
-
// always add a slash to the end of the source. If the user path is not
49
-
// the same in the source and the destination, then you need to know how
50
-
// rsync paths work, and put on the trailing '/' if you want it.
51
-
if ($source_settings['user-path'] == $destination_settings['user-path']) {
52
-
$source_path .= '/';
53
-
}
54
-
// Prompt for confirmation. This is destructive.
55
-
if (!drush_get_context('DRUSH_SIMULATE')) {
56
-
drush_print(dt("You will destroy data from !target and replace with data from !source", array('!source' => $source_path, '!target' => $destination_path)));
57
-
if (!drush_confirm(dt('Do you really want to continue?'))) {
// If the user path is the same for the source and the destination, then
44
+
// always add a slash to the end of the source. If the user path is not
45
+
// the same in the source and the destination, then you need to know how
46
+
// rsync paths work, and put on the trailing '/' if you want it.
47
+
if ($source_settings['user-path'] == $destination_settings['user-path']) {
48
+
$source_path .= '/';
49
+
}
50
+
// Prompt for confirmation. This is destructive.
51
+
if (!drush_get_context('DRUSH_SIMULATE')) {
52
+
drush_print(dt("You will destroy data from !target and replace with data from !source", array('!source' => $source_path, '!target' => $destination_path)));
53
+
if (!drush_confirm(dt('Do you really want to continue?'))) {
0 commit comments