How to: Periodically merge changes from the main branch to a private branch
From: Mohammed Bustany <mbustany_at_successfactors.com>
Date: 2007-12-27 02:48:31 CET
Hi,
Our development requires various private branches. I wrote up this set
When I re-run the merge command using the revision at branch creation, I
The instructions just look very convoluted and error prone. There must
Thank you
Mohammed
1) Determine the starting revision number.
The starting revision number is either the revision number when your
To determine the revision when your branch was created:
$ svn log --verbose --stop-on-copy build.template
The output will be similar to:
$ svn log --verbose --stop-on-copy build.template
------------------------------------------------------------------------
r3611 | svn | 2007-12-19 10:39:24 -0800 (Wed, 19 Dec 2007) | 2 lines
Changed paths:
A /purple/branches/xitgm (from /purple/trunk:36117)
A branch for changes.
------------------------------------------------------------------------
To determine the starting revision from your last merge, look at the log
2) Determine the Ending revision number. This is the "Last Changed Rev"
$ svn info .
Path: .
URL: https://svn.successfactors.com/repos/purple/trunk
Repository Root: https://svn.successfactors.com/repos
Repository UUID: 9d512ef7-28b5-da11-a818-00123f20d848
Revision: 3623
Node Kind: directory
Schedule: normal
Last Changed Author: dsmith
Last Changed Rev: 3622
Last Changed Date: 2007-12-26 16:09:52 -0800 (Wed, 26 Dec 2007)
3) Run the merge command:
$ svn merge -r 3611:3622
4) Commit your changes. Include the merge command syntax in your checkin
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.