[英]SVN check in /commit error
I had checked out a few files from the svn repository on an old machine, and then I moved the repository to a new server. 我从旧机器上的svn存储库中检出了一些文件,然后将存储库移动到新服务器。 I did not do a repo dump and move, just did a tar and scp and untar of the entire repository.
我没有做repo转储和移动,只是做了一个tar和scp并解压整个存储库。 When I try to check in to the new server [with the same hostname and same dir structure] it says:
当我尝试检入新服务器[具有相同的主机名和相同的目录结构]时,它说:
svn: Commit failed (details follow):
svn:提交失败(详情如下):
svn: Server sent unexpected return value (500 Internal Server Error) in response to MKACTIVITY request for '/repos/papers/!svn/act/a49a699c-96a7-11df-9e8f-654930a0ec4e'svn:服务器发送意外返回值(500内部服务器错误)以响应对'/ repos / papers /!svn / act / a49a699c-96a7-11df-9e8f-654930a0ec4e'的MKACTIVITY请求
Whenever you move or backup a SVN Repo, you need to do a dump and then restore on the new machine. 无论何时移动或备份SVN Repo,都需要进行转储然后在新计算机上进行恢复。 You can accomplish that by running:
你可以通过运行来实现:
svnadmin dump myrepos > dumpfile
svnadmin dump myrepos> dumpfile
Then move the dumpfile
onto the new machine using your transport tool of choice. 然后使用您选择的传输工具将
dumpfile
移动到新计算机上。 Once on the new server: 进入新服务器后:
svnadmin load newrepos < dumpfile
svnadmin加载newrepos <dumpfile
On your working copy, you will need to inform your svn client that the repo has moved. 在您的工作副本上,您需要通知您的svn客户端repo已移动。
Check your error log to dig deep into this issue. 检查您的错误日志以深入研究此问题。 I suspect the issue is with your apache LoadModule configuration or with Authentication.
我怀疑问题出在您的apache LoadModule配置或身份验证上。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.