我需要同步一个svn存储库,我知道我可以用svnsync来做这个,但问题是我需要与另一个用户一起提交到slave存储库,所以不包括master存储库中的svn信息进入奴隶但能够使用svn log / diff检索奴隶库更改。
有没有办法做到这一点,或者我必须创建一个shell脚本来实现这个目标?
如果必须使用shell脚本,我的想法如下:
0) create a daily cronjob
1) make a diff of files between master and slave
2) svn add / del of the the different files in the slave
3) rsync master to slave
4) commit all files
答案 0 :(得分:1)
供应商分支?
刚安装"主人"作为外部进入"奴隶"和合并