Archived

Difference between revisions of "Development FAQ"

From Joomla! Documentation

m (Reverted edits by Hutchy68 (talk) to last revision by Batch1211)
(One intermediate revision by the same user not shown)
(No difference)

Revision as of 17:07, 26 August 2012

This page has been archived. This page contains information for an unsupported Joomla! version or is no longer relevant. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

SVN[edit]

Merging a release back to the trunk[edit]

Example of merging the 1.5 release back to the trunk:

svn merge http://joomlacode.org/svn/joomla/development/trunk@HEAD http://joomlacode.org/svn/joomla/development/releases/1.5@HEAD /Applications/MAMP/htdocs/joomla/trunk

The arguments are svn merge A B C where you want to change A in B and put it in C.

You may like to use the --dry-run option first just to test the command. Merging may take some time. It is a good idea to use the command line to perform this. If you are using Eclipse you will not be able to run this in the background.

See http://svnbook.red-bean.com/en/1.1/ch04.html for an explanation of the concepts behind branching and merging.

Breaking a Lock on a File[edit]

On occasion you may get an error message like:

 svn: Commit failed (details follow):
 svn: PUT of '/svn/joomla/.../development/trunk/libraries/joomla/application/helper.php':   423 Locked (http://joomlacode.org)

To force unlock it remotely, navigate to the correct folder and run the following command:

 svn unlock --force helper.php

See http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html for more information on locking.