SVN错误"存储库暂时移动到...请重新安置"

时间:2016-10-27 11:02:06

标签: eclipse apache svn tortoisesvn subversive

尝试提交/更新/签出/源文件/存储库或从Eclipse中的颠覆性共享新项目到存储库时,我遇到以下错误(Subversive SVN Connector Version 3.0.5.I20140122-1700 id:org。 polarion.eclipse.team.svn.connector.feature.group Polarion Software,SVNKit实现版本是1.3.8):

Some of selected resources were not committed.

    svn: Commit failed (details follow):
    svn: Repository moved temporarily to '/svn/myproject/trunk/myproject/src/ma/xyz/dao'; please relocate
    svn: OPTIONS request failed on '/svn/myproject/trunk/myproject/src/ma/xyz/dao'

我使用dav_svn模块访问我的SVN存储库,这是我的 httpd.conf 的样子:

<Location /svn>
   DAV svn
  SVNPath C:\SVN\repository
  AuthType Basic
  AuthName "svn repos"
  AuthUserFile "C:\Program Files\Apache Software Foundation\Apache2.2\bin\passwd" 
  Require valid-user

</Location>

我试图从tortoisesvn客户端结帐并且它正在工作。

这可能是什么问题?

1 个答案:

答案 0 :(得分:-1)

您可以尝试使用此命令。命令说明relocate确保在svn repo文件夹的根目录下运行此命令,否则它将中断。

svn switch --relocate svn://192.168.0.57/svnrepos svn://192.168.0.32/svnrepos/