Mercurial Merge 意外删除了源文件
我们遇到过 Hg 的情况,无论我们以哪种方式合并两个分支,它都会意外地完全删除数百个文件。 即,将分支 A 合并到 B 中或将 B 合并到 A 中。 更令人困惑的是,没有人实际删除它们。
有没有人经历过这种情况并可以提供指导 - 这已经成为我们的一个主要问题?
谢谢。
We have encountered a situation with Hg where no matter which way we merge two branches it wants to delete hundreds of files completely unexpectedly.
i.e. merge branch A into B or B into A.
More baffling no one has physically deleted them.
Has anyone experienced this and can give guidance - this has become a major issue for us?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是否可以重命名所涉及的文件夹/目录?也许只是大小写的改变(例如:
Stuff
到stuff
)?这可能会在某些视图中显示为大量删除,但实际上并不是这样处理的。简而言之,正在发生的事情极不可能像看上去那样发生。有了更多详细信息,我们可以共同解决这个问题,但如果您在邮件列表或 IRC 中获得帮助,也请在此处提供后续信息。
Could there be a rename of a folder/directory involved? Perhaps one that's only a case change (ex:
Stuff
tostuff
)? That could show up as a lot of deletions in some views, but of course isn't actually handled that way.In short, it's extremely unlikely that what's happening is what it looks like is happening. With more detail we can work together to figure it out, but if you got help in the Mailing list or IRC please provide a followup here too.
正如评论中所述 - 这与我的同事发布的问题相同,答案就在那里。
As noted in comments - this is same issue as my colleague posted and the answer is there.