Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
provision
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
provision
Commits
0d78a4b9
Commit
0d78a4b9
authored
Oct 22, 2009
by
anarcat
Committed by
anarcat
Oct 22, 2009
Browse files
Options
Downloads
Patches
Plain Diff
workaround for
#595494
- do not propagate aliases when cloning
parent
746e8c31
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/clone.provision.inc
+2
-1
2 additions, 1 deletion
platform/clone.provision.inc
with
2 additions
and
1 deletion
platform/clone.provision.inc
+
2
−
1
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'
)));
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment