Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
provision
Commits
0d78a4b9
Commit
0d78a4b9
authored
Oct 22, 2009
by
anarcat
Committed by
anarcat
Oct 22, 2009
Browse files
workaround for
#595494
- do not propagate aliases when cloning
parent
746e8c31
Changes
1
Hide whitespace changes
Inline
Side-by-side
platform/clone.provision.inc
View file @
0d78a4b9
...
...
@@ -34,7 +34,8 @@ function drush_provision_drupal_pre_provision_clone_rollback($url, $new_url, $pl
* Switch the clone directories around now that we have the new db installed
*/
function
drush_provision_drupal_provision_clone
(
$url
,
$new_url
,
$platform
=
null
)
{
drush_backend_invoke
(
'provision deploy'
,
array
(
$new_url
,
drush_get_option
(
'backup_file'
),
'root'
=>
$platform
,
# note that we reset the aliases so they don't conflict with the original site
drush_backend_invoke
(
'provision deploy'
,
array
(
$new_url
,
drush_get_option
(
'backup_file'
),
'root'
=>
$platform
,
'aliases'
=>
array
(),
'web_host'
=>
drush_get_option
(
'web_host'
),
'web_ip'
=>
drush_get_option
(
'web_ip'
),
'db_host'
=>
drush_get_option
(
'db_host'
),
'master_db_host'
=>
drush_get_option
(
'master_db_host'
),
'master_db_user'
=>
drush_get_option
(
'master_db_user'
),
'master_db_passwd'
=>
drush_get_option
(
'master_db_passwd'
)));
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment