如果同步过程中间网络断开,会锁住,运行以下命令可解开。
[root@sha-svn ~]# svnsync sync --username $USERNAME --password $PASSWORD
Failed to get lock on destination repos, currently held by '$SERVER:b45aa399-7c25-4f82-8601-0a23b5d04614'
Failed to get lock on destination repos, currently held by '$SERVER:b45aa399-7c25-4f82-8601-0a23b5d04614'
... ...
subversion/svnsync/main.c:220: (apr_err=22)
svnsync: Couldn't get lock on destination repos after 10 attempts
[root@sha-svn ~]# svn pdel --revprop -r 0 svn:sync-lock
阅读(1802) | 评论(0) | 转发(0) |