DVCS(或者更确切地说,任何非排他性结帐 VCS)和 Windows 窗体?合并问题?
有人有这方面的经验吗?
例如,考虑 Subversion、Git 或 Mercurial 以及典型的 Windows 窗体表单。
每当有人编辑表单时,例如重新定位面板以使其具有不同的父级,有时表单设计器代码生成器会重新排列比该面板更多的代码。
有谁有过这有多大的合并问题的经验吗?
Does anyone have any experience with this?
For instance, consider Subversion, Git, or Mercurial, and a typical Windows Forms form.
Whenever someone edits the form, for instance repositions a panel to have a different parent, sometimes the form designer code generator rearranges more code than just that panel.
Does anyone have any experience with how big a merge problem this is?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

是的,我试图在这里回答。简而言之,我们所做的就是在 PlastiSCM 中有一个“预合并”脚本(您可以将其与您首选的 SCM)在合并之前对 resx 进行“排序”。这样我们就可以避免奇怪的问题。
注意:15 年前,Delphi 在处理资源方面比最新一代的 VStudio 做得更好......:(
Yes, I tried to answer it here. Simply put, what we do is to have a "pre-merge" script in PlastiSCM (you could use it with your preferred SCM) to "sort" the resx prior to merge. This way we avoid weird issues.
Note: Delphi did a better job handling resources 15 years ago than the newest generation VStudio... :(