开发者

Subversion SVN: Repository has been moved Repository moved permanently to XXX please relocate

I dont understand SVN right now. When I change a file and try to update, it gives me the following error:

Repository has been moved
Repository moved permanently to 'http://myIpAdress/svn/'; please relocate

As far As I know I didnt change the adress of my repository or anything. The other clients have the same error, so there seems to be something wrong with the repository, and not the svn client. Any suggestions? The adress of my repository is "/var/svn/repository", this is the Location-tag inside my Apache-Config:

<Location /svn>
 SVNPath /var/svn/repository
.... other tags
</Location>

And this is the structure of my repository:

repository->myWebapp->Trunk

UPDATE:

The svn info command inside my working copy gives me the following res开发者_如何学Goults:

URL: http://myIpAdress/svn/myWebApp/trunk
Repository Root: http://myIpAdress/svn


Try issuing the command svn info and look at the repository path. I suspect that it doesn't match the http://myIpAddress/svn/ value you quoted above.

If it doesn't match, you should use svn switch --relocate URL_FROM_SVN_INFO http://myIpAddress/svn/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜