歡迎您光臨本站 註冊首頁

svnsync同步,只同步了版本號,沒有數據

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

svnsync同步,只同步了版本號,沒有數據

按照網上的教程配置
pre-revprop-change 內容
#!/bin/sh
USER="$3"
if [ "$USER" = "××××" ] ;then exit 0;fi
echo "Only the syncuser user may change revision properties" >&2
exit 1

start-commit 內容
#!/bin/sh
USER="$2"
if [ "$USER" = "××××" ] ; then exit 0;fi
echo "Only the syncuser user may commit new revisions" >&2
exit 1

執行初始化
#svnsync init svn://10.10.10.2/svn     svn://10.10.10.1/svn    --username=×××× --password=××××××
Copied properties for revision 0.
執行同步
# svnsync sync svn://10.60.1.52/svn  --username=××× --password=××××××
Committed revision 1.
Copied properties for revision 1.
Committed revision 2.
Copied properties for revision 2.
Committed revision 3.
Copied properties for revision 3.
Committed revision 4.
Copied properties for revision 4.
Committed revision 5.
Copied properties for revision 5.
Committed revision 6.
Copied properties for revision 6.
Committed revision 7.
Copied properties for revision 7.
Committed revision 8.
Copied properties for revision 8.
Committed revision 9.
Copied properties for revision 9.
Committed revision 10.
Copied properties for revision 10.
Committed revision 11.
Copied properties for revision 11.

版本號都同步過來了  就是沒有Transmitting file date 這個過程,也沒有數據
請問這樣 該怎麼解決  也配置了源機器的post-commit
svnsync sync  --non-interactive svn://10.10.10.2/svn/ --username=×××× --password=xxxxxx
在源機器上提交后 目標機器的版本號也會同步增長 但是沒有依然沒有數據
《解決方案》

親  是你的許可權有問題
用的是svnservere啟動的吧
把anon-access = read 改成  anon-access = none
《解決方案》

看不懂啊 慢慢來學

[火星人 ] svnsync同步,只同步了版本號,沒有數據已經有750次圍觀

http://coctec.com/docs/service/show-post-179.html