[CONF] Apache Camel: Merging commits from trunk to fixes branch (page edited)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[CONF] Apache Camel: Merging commits from trunk to fixes branch (page edited)

Dhiraj Bokde (Confluence)

Merging commits from trunk to fixes branch has been edited by willem jiang (Nov 04, 2008).

Change summary:

need to use https protocal to get commit right

(View changes)


The Camel 1.x branch here:


The idea is to be able to apply bug fixes to Camel 1.x while leaving new features and other API breaking stuff on the trunk. I think in most cases fixes will be happening on the trunk so I've set up svnmerge.py to track commits from the trunk to the 1.x branch.

Example workflow:

1. You just committed a fix to the trunk in revision 123456 and think that it would be useful to Camel 1.5 users

2. Check out the branch

svn co https://svn.apache.org/repos/asf/activemq/camel/branches/camel-1.x camel-1.x

3. In camel-1.x directory, you can get a list of commits available from the trunk

janstey@mojo:/x1/apache/camel-1.x$ svnmerge.py avail -l
r123456 | janstey | 2008-11-01 01:08:18 -0230 (Sat, 01 Nov 2008) | 1 line
Changed paths:
   M /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/SomeFile.java

My awesome commit

4. Merge your commit by running

svnmerge.py merge -r 123456

5. Resolve any conflicts in the merge

6. Commit it by running

svn ci -F svnmerge-commit-message.txt'

7. If you have a JIRA associated with this fix, make sure it says fix for 1.5.1 and/or 2.0.0