Config for nightly CC=>RTC sync
We plan to "mirror" the main/latest branch in a large CC repo into RTC. As part of this, we plan to create a CC "SYNC" branch off of main so that while the sync is running we don't lock up CC main. We want CC SYNC to be (effectively) always an exact copy of CC main/latest so that the mirror in RTC is therefore also a copy of CC main/latest.
The question is: how do we automatically keep CC SYNC current with CC main/latest? Is there some sort of ct command to apply all changes from one CC branch to another that would do this?
Thanks!
The question is: how do we automatically keep CC SYNC current with CC main/latest? Is there some sort of ct command to apply all changes from one CC branch to another that would do this?
Thanks!
One answer
This is really a ClearCase question, so best asked at:
http://www.ibm.com/developerworks/forums/forum.jspa?forumID=333
where all the ClearCase experts hang out (:-), but this is an easy one:
in a view that whose config spec is looking at SYNC/latest, execute a
findmerge command like:
cleartool findmerge -avobs -fversion /main
Your ClearCase admins will all know how to do this, but if you're doing
this yourself, you'll want to read the "findmerge" entry in the
clearcase command reference manual ("cleartool man findmerge" will open
that page in your web browser).
Cheers,
Geoff
On 8/11/2010 5:07 PM, billcompton wrote:
http://www.ibm.com/developerworks/forums/forum.jspa?forumID=333
where all the ClearCase experts hang out (:-), but this is an easy one:
in a view that whose config spec is looking at SYNC/latest, execute a
findmerge command like:
cleartool findmerge -avobs -fversion /main
Your ClearCase admins will all know how to do this, but if you're doing
this yourself, you'll want to read the "findmerge" entry in the
clearcase command reference manual ("cleartool man findmerge" will open
that page in your web browser).
Cheers,
Geoff
On 8/11/2010 5:07 PM, billcompton wrote:
We plan to "mirror" the main/latest branch in a large CC
repo into RTC. As part of this, we plan to create a CC
"SYNC" branch off of main so that while the sync is running
we don't lock up CC main. We want CC SYNC to be (effectively) always
an exact copy of CC main/latest so that the mirror in RTC is
therefore also a copy of CC main/latest.
The question is: how do we automatically keep CC SYNC current with CC
main/latest? Is there some sort of ct command to apply all changes
from one CC branch to another that would do this?
Thanks!