[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnsync error : Error while replaying commit

From: huangyanhua <460722694_at_qq.com>
Date: Thu, 5 May 2016 02:28:27 -0700 (MST)

我也遇到了该问题Error while replaying
commit,有些库用下面同样的步骤操作是没问题的,但是有些库就报这个错,不知道为什么,麻烦大家遇到过解决了的回答下,谢谢
我的操作步骤是
1、将脚本aapost-commit.bat放置到SVN主服务器相对应项目的hooks文件里,
例如:\\192.168.27.1\d$\SVN\c3m-video\hooks
"C:\Program Files (x86)\Subversion\bin\svnsync.exe" sync --non-interactive
svn://192.168.27.88/c3m-video --username admin --password cmadmin
修改下面一行中的备份服务器IP和项目名
2、将脚本Svn Start Server.bat放置在备份服务器SVN文件的同目录下
svnserve -d -r e:\SVN 修改对应的存储盘符
3、将脚本pre-revprop-change.bat放置在备份服务器相应项目的hooks文件夹下。例如:
   \\192.168.27.1\d$\SVN\c3m-video\hooks
二、操作命令 (在备份服务器上操作)
1、连接 svnsync init svn://192.168.27.88/C3M-EMS svn://192.168.27.1/C3M-EMS
2、同步 svnsync sync svn://192.168.27.88/MVSS --username admin --password
cmadmin

主服务是Windows sever 2008 R2,备份服务器是Windows sever 2008 R2
SVN服务版本为Setup-Subversion-1.7.4

--
View this message in context: http://subversion.1072662.n5.nabble.com/svnsync-error-Error-while-replaying-commit-tp156531p196592.html
Sent from the Subversion Users mailing list archive at Nabble.com.
Received on 2016-05-06 01:45:00 CEST

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.