Subversion branches and ini files

Author Message

Greg McAvoy-Jensen

Monday 16 June 2008 1:32:28 am

In a comment (http://ez.no/developer/articles/using_subversion_with_ez_publish/how_can_i_use_my_own_ini_settings), Gaetano Giunta offers a helpful suggestion for managing different ini files for development, testing, and production.

But could someone clarify how one goes about copying the changes to be applied the testing branch, for example? I'm running into this problem:

1. Make the change in my own settings/testing/siteaccess/myaccess/site.ini.append.php.

2. Commit the changes.

3. Try to svn copy settings/testing to settings (in the testing branch), so it will easily overwrite my development settings for site.ini. However, I get an error saying the path already exists.

What's the simplest way of handling this--preferably without having to duplicate design.ini and other ini files which can be identical in development, testing, and production?

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 00:41:09
Script start
Timing: Jan 31 2025 00:41:09
Module start 'layout'
Timing: Jan 31 2025 00:41:09
Module start 'content'
Timing: Jan 31 2025 00:41:10
Module end 'content'
Timing: Jan 31 2025 00:41:10
Script end

Main resources:

Total runtime0.8970 sec
Peak memory usage8,192.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1406151.2109
Module start 'layout' 0.00470.0036 739.3516220.7031
Module start 'content' 0.00830.8878 960.05474,379.3281
Module end 'content' 0.89610.0008 5,339.38287.8438
Script end 0.8969  5,347.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4174160.0002
Check MTime0.00140.1519160.0001
Mysql Total
Database connection0.00060.064610.0006
Mysqli_queries0.821491.5748460.0179
Looping result0.00040.0457440.0000
Template Total0.848694.620.4243
Template load0.00220.240520.0011
Template processing0.846494.363620.4232
Template load and register function0.00110.120010.0011
states
state_id_array0.00180.204410.0018
state_identifier_array0.00170.187320.0008
Override
Cache load0.00180.2016100.0002
Sytem overhead
Fetch class attribute can translate value0.00190.209910.0019
Fetch class attribute name0.00170.193620.0009
XML
Image XML parsing0.00160.182710.0016
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00190.2074180.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs