在 Eclipse 中更改 SVN 存储库位置

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8828684/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 20:49:39  来源:igfitidea点击:

Change SVN Repository location in eclipse

eclipsesvn

提问by Hell Boy

I want to update the SVN repository location of my existing project in eclipse.

我想在 Eclipse 中更新我现有项目的 SVN 存储库位置。

This project was initially checked out from Trunk, but has been recently branched out. I have unchecked changes and now need to go into the branch, and they are lot of them so do not want to checkout from the branch and merge the changes. The SVN URL points to the trunk and I want to change it to one of the branch.

这个项目最初是从 Trunk 检出的,但最近已经分支出来。我有未经检查的更改,现在需要进入分支,而且它们很多,所以不想从分支结帐并合并更改。SVN URL 指向主干,我想将其更改为分支之一。

I cannot use RELOCATE options as I have read it can only be used to if the DOMAIN or IP has changed but not the directory.

我不能使用 RELOCATE 选项,因为我读过它只能用于 DOMAIN 或 IP 已更改但目录未更改的情况。

Any Ideas please.

请有任何想法。

回答by Martti K??rik

Use svn switchwithout --relocate(see switching a working copy). In Eclipse: Team > Switch to another Branch/...

svn switch不使用--relocate(参见切换工作副本)。在 Eclipse 中:团队 > 切换到另一个分支/...