移动文件夹和在SVN中移动的后果有什么后果?

发布于 2025-01-21 05:29:57 字数 768 浏览 4 评论 0原文

我们意外地在SVN存储库中移动了一个主要的文件夹,历史悠久。之所以发生,是因为我们选择了“移动和重命名”,而不是“复制和重命名”来偶然地创建一个新的分支。该操作以这样的方式显示在龟中:

路径动作副本,来自路径/
分支/功能/nameOffeAtureBranch添加/trunk/thefolder/thefolder10000
/trunk/thefolder随后删除

,添加了文件夹:返回文件夹:

路径动作副本,从路径/
trunk/thefolder中添加。添加/分支/功能/nameOffeAturebranch10001

历史记录(例如,指责)仍然存在,但是如果启用了“停止复制/重命名”,则乌龟SVN停止查看有问题的修订版。我们可以忍受。主要的问题是:我们还不知道其他后果吗?还有:还有其他建议吗?

We accidentally moved a major folder in our SVN repository with a long history. It happened because we selected "move and rename" instead of "copy and rename" to create a new branch by accident. The operation shows up in TortoiseSVN like this:

PathActionCopy from PathRevision
/branches/feature/NameOfFeatureBranchAdded/trunk/TheFolder10000
/trunk/TheFolderDeleted

Afterwards, the folder was added back:

PathActionCopy from PathRevision
/trunk/TheFolderAdded/branches/feature/NameOfFeatureBranch10001

The history (e.g. in a blame) is still all there, but Tortoise SVN stops looking past the problematic revision if "Stop on copy/rename" is enabled. We can live with that. The main question is: Are there any other consequences that we are not yet aware of? Also: Any other suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

嘦怹 2025-01-28 05:29:57

只是让任何人都知道谁遇到了这个问题:经过几周与所描述的状态合作之后,我们找不到任何问题(除了我们需要取消选择“停止在Tortoise SVN中的复制/重命名”的小麻烦之外)。请注意,我们有一个非常复杂的构建系统,有几个人也使用git-svn。尽管如此,到目前为止还没有问题。

Just to let anyone know who comes across this issue: After several weeks of working with the described state, we could not find any issues (besides the minor nuisance that we need to deselect "Stop on copy/rename" in Tortoise SVN). Note that we have a quite complex build system and several people also use git-svn. Still, no problems so far.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文