Mercurial:与外部目录合并
我有一个本地存储库,我需要将其与以老式方式编辑的版本合并。我想知道处理这种情况的更直接的方法是什么。
显然,hg merge
合并了两个分支,它们都在存储库中。我是否应该创建一个新分支,复制存储库中的外部目录,添加它,提交,然后合并?有没有一个扩展可以处理这个问题?还有别的事吗?
I have a local repository, which I need to merge with a version edited the old fashioned way. I'd like to know what is the more straightforward way to handle this situation.
Apparently hg merge
merges two branches, which are both in the repository. Am I supposed to create a new branch, copy the external directory in the repository, add it, commit, then merge? Is there an extension which just handles that? Something else?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的其他代码不受版本控制。然后你需要手动合并它。
您可以为此合并创建另一个分支,但如果您要做的只是将该分支合并到主分支中。你应该直接合并到主分支。
If your other code was not under version control. Then you will need to merge it manually.
You can create another branch for this merge, but if all you are going to do is merge that branch into the main one. You should just merge into the main branch directly.