[英]Re-connect Eclipse project to new SVN repository
I have a project checkout from SVN but now I have moved my SVN repository to some other URL, but when I tried to disconnect project from older SVN repo, it does but when I try to connect it, then it recognize that this project has been previously connected to some SVN and it's remembering older repository.
我有一个从SVN进行项目签出的操作,但是现在我已将SVN存储库移至其他URL,但是当我尝试从较早的SVN存储库断开项目的连接时,它确实可以,但是当我尝试连接该项目时,它就知道该项目已经以前已连接到某些SVN,并且正在记住较早的存储库。 How can I change it to new repository?
如何将其更改为新的存储库? Without downloading project from scratch.
无需从头下载项目。
If you have already disconnected, it's probably too late - at least if you had Eclipse delete the SVN metadata in the process. 如果您已经断开连接,那可能为时已晚-至少如果您让Eclipse在此过程中删除SVN元数据。 I think you'll have to check out again.
我认为您必须再次结帐。
When you move the remote repository to a new URL, you should do the following in Eclipse: 将远程存储库移至新的URL时,应在Eclipse中执行以下操作:
(Assumes Subclipse. Subversive should have a similar feature.) (假定为Subclipse。Subversive应该具有类似的功能。)
On the command line, that would be a "svn switch --relocate ..." command. 在命令行上,这将是一个“ svn switch --relocate ...”命令。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.