Differences between revisions 8 and 9
Revision 8 as of 2010-03-23 11:01:10
Size: 1400
Editor: MarkHindess
Revision 9 as of 2010-03-30 21:02:18
Size: 1410
Editor: MarkHindess
Comment: Updating urls to reflect new harmony/enhanced/java tree.
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
svn co https://svn.apache.org/repos/asf/harmony/enhanced/branches/java6 Harmony-java6 svn co https://svn.apache.org/repos/asf/harmony/enhanced/java/branches/java6 Harmony-java6
Line 19: Line 19:
svn merge https://svn.apache.org/repos/asf/harmony/enhanced/trunk svn merge https://svn.apache.org/repos/asf/harmony/enhanced/java/trunk

Merging the changes from the HEAD stream (Java 5) into the Java 6 stream

You'll need to check out a working copy of the Java 6 stream. Let's assume that you have the Java 6 stream is checked out as "Harmony-java6", i.e.

svn co https://svn.apache.org/repos/asf/harmony/enhanced/java/branches/java6 Harmony-java6

To perform a merge, ensure the working copy is up to date:

cd Harmony-java6
svn up

Perform the actual merge:

svn merge https://svn.apache.org/repos/asf/harmony/enhanced/java/trunk

A useful tip is to do a merge with  --dry-run  first to see what will happen! You may also append a revision number such as '@926505' to the repository url to merge up to a specific revision number.

Check to see if there are any conflicts reported by the merge. Manually resolve any conflicts by merging the code, and marking the merged file as resolved. Once the merge is completed, check that the Java 6 working copy is still ok:

ant rebuild
ant test

Check that the test results look fine.

Now we need to commit the updates to the Java 6 branch. Still in the Java 6 workspace:

svn commit -m "Merge updates from federated trunk"

(If you merged to a specific revision number you might like to include that in the commit message. However, the svn:mergeinfo property tracks this correctly so it isn't essential.)

BranchMerge (last edited 2010-03-30 21:02:18 by MarkHindess)