TortoiseSvn 合并后创建补丁不包含新文件

发布于 2024-09-03 06:35:22 字数 210 浏览 1 评论 0原文

我正在 TortoiseSvn 中进行合并,它修改了一些文件,删除了一些文件,并添加了一些文件。接下来,我将执行“创建补丁”来创建包含这些更改的补丁文件。问题是生成的补丁文件仅包含修改和删除,而不包含添加。

我发现了一个解决方法。如果我恢复添加,然后在 TortoiseSVN 中显式添加这些文件,然后执行修补程序,它会拾取所有内容,包括添加。

有没有办法避免这种解决方法?

I am doing a Merge in TortoiseSvn, which modifies some files, deletes some, and adds some. Next I am doing a Create Patch to create a patch file with these changes. The problem is that the resulting patch file includes only the modifications and deletions, not the adds.

I have discovered a workaround. If I revert the adds and then do an explicit Add of those files in TortoiseSVN, then do a Patch, it picks up everything, including the Adds.

Is there a way to avoid this workaround?

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

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

发布评论

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

评论(1

少女的英雄梦 2024-09-10 06:35:22

看起来这是 Subversion 中的一个已知错误,而 TortoiseSvn 中则没有这个问题。它看起来不会在 Subversion 1.6.x 中修复,因为他们正在版本 1.7 中重做补丁/差异系统。因此,看来您需要继续使用您的解决方法,直到版本 1.7,该问题有望得到解决。

http://tortoisesvn.tigris.org/ds/viewMessage.do ?dsForumId=4061&dsMessageId=2451115

It looks like it is a know bug in Subversion and it is not an issue with TortoiseSvn. It doesn't look like it will be fixed in Subversion 1.6.x because they are redoing the patch/diff system in version 1.7. So it appears you will need to continue using your workaround until version 1.7, which will hopefully have this issue fixed.

http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2451115

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