Currently, we got 2 CVS repositories (called A and B, B is a copy of A). A is on Server_a (in Australia), B is on Server_b (in India). Server_a and Server_b are connected through ssh connection.
Australian developers will commit their changes into A and Indian one will commit their changes into B. My question is: How can we keep those 2 repositories synchronized ?
I've thought of several solutions:
1. run rsync between A and B -> it's not a good option because rsync is just "one way". 2. whenever there is a commit into A, it will trigger a script to send the changes to B through ssh and update B (can be done through CVSROOT/loginfo) and vice versa for B to A.
The drawback to this solution is: - slow performance because of the link - cvs admin command will not trigger the sync-script - cvs tag/rtag will not trigger the sync-script - time to develop the script -> the most concerned --> do we have any script available to do that ?