如何在 TortoiseSVN 中调整工作副本的服务器路径?
我有一个具有以下布局的存储库:
//server/wrongname/superfluousdir/trunk/...
现在我已将 trunk
移动到存储库的根目录(使用 TortoiseSVN 存储库浏览器)并更改了存储库名称(使用 SVNManager):
//server/correctname/trunk/...
我有一个工作副本包含 trunk
中所有内容的文件夹。它有几个已更改的文件。我告诉 TortoiseSVN 通过 Relocate...
命令使用新的存储库名称。
但是,如果我现在尝试进行提交,它仍然会提交到
//server/correctname/superfluousdir/trunk/...
如何更正它应该提交的路径?
I have had a repository with the following layout:
//server/wrongname/superfluousdir/trunk/...
Now I have moved trunk
to the root of the repository (using the TortoiseSVN repo browser) and changed the repository name (using SVNManager):
//server/correctname/trunk/...
I have a working copy folder which contains everything in trunk
. It has several changed files. I told TortoiseSVN to use the new repository name with the Relocate...
command.
However, if I try to do a commit now, it will still commit to
//server/correctname/superfluousdir/trunk/...
How do I correct the path to which it should commit?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我更习惯使用命令行执行此操作,但听起来您的重新定位错误。命令行语法为
from-path, to-path。我猜乌龟把两者搞混了,而且确实做到了
,即路径错误。
我认为此时您应该尝试切换选项:这应该为您提供 //server/ Correctname/superfluousdir/trunk/ ,您可以将其编辑为正确的路径。
I'm more used to doing this with the command-line, but it sounds like you got the relocate wrong. The command line syntax would be
i.e. from-path, to-path. I guess Tortoise got the two mixed up and really did
i.e. with the wrong from path.
I think at this point you should try the switch option: that should give you //server/correctname/superfluousdir/trunk/ which you can edit to the correct path.