分类
2571禅道和SVN结合,执行同步时,出问题。已解决
禅道和SVN结合,执行同步时,出问题。已解决
悬赏5积分
提问者朱川答案数1阅读数4277发表时间2014-12-24 13:55:41
[root@test bin]# sh syncsvn.sh
2014-12-23 14:22:52 begin repo 1
svn: OPTIONS of 'http://192.168.2.201/repos/v1.4': 200 OK (http://192.168.2.201)
2014-12-23 14:22:52 start from revision 0
svn: OPTIONS of 'http://192.168.2.201/repos/v1.4': 200 OK (http://192.168.2.201)
Some error occers:
The command is /usr/bin/svn --non-interactive --username zhuchuan --password 123456 --no-auth-cache log -r 0:HEAD -v --xml http://192.168.2.201/repos/v1.4
the svn logs is <?xml version="1.0"?>
2014-12-23 14:22:52 begin repo 1
svn: OPTIONS of 'http://192.168.2.201/repos/v1.4': 200 OK (http://192.168.2.201)
2014-12-23 14:22:52 start from revision 0
svn: OPTIONS of 'http://192.168.2.201/repos/v1.4': 200 OK (http://192.168.2.201)
Some error occers:
The command is /usr/bin/svn --non-interactive --username zhuchuan --password 123456 --no-auth-cache log -r 0:HEAD -v --xml http://192.168.2.201/repos/v1.4
the svn logs is <?xml version="1.0"?>
<log>
请问导致这个错误的原因是什么?
禅道里我的配置如下:
$config->svn = new stdClass();
$config->svn->encodings = 'utf-8, gbk';
$config->svn->client = '/usr/bin/svn';
$i = 1;
$config->svn->repos[$i]['path'] = 'http://192.168.2.201/repo
s/v1.4';
$config->svn->repos[$i]['username'] = 'zhuchuan';
$config->svn->repos[$i]['password'] = '123456';
/*
$i ++;
$config->svn->repos[$i]['path'] = '';
$config->svn->repos[$i]['username'] = '';
$config->svn->repos[$i]['password'] = '';
*/
我执行“/usr/bin/svn --non-interactive --username zhuchuan --password 123456 --no-auth-cache log -r 0:HEAD -v --xml http://192.168.2.201/repos/v1.4” 返回的值也是OK的。
禅道版本:6.4.stable
安装包类型:源码包
操作系统:CentOS
客户端浏览器:Chrome
答案列表
联系我们
联系人
刘璐/高级客户经理
电话(微信)
18562550650
QQ号码
2845263372
联系邮箱
liulu@chandao.com

其他相关问答
提问者: yanxiaoqi 于 2019-06-051260次浏览,1个答案
提问者: 493204891 于 2019-05-171412次浏览,1个答案
提问者: baqiv5 于 2019-05-21752次浏览,1个答案
提问者: liuxin0925 于 2019-05-301680次浏览,1个答案
提问者: ylyue 于 2019-05-221355次浏览,1个答案



精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


