Subversion: Can I tell the conflict resolver, to look for structural changes not on the incomig, but on the local files?

岁酱吖の 提交于 2019-12-24 07:17:09

问题


Note: The underlying situation of this question is also part of a slightly different question here.

Situation

I have a trunk, where earlier, a branch has been made from. Then, in the trunk some file renamings have been made. These renamings were accidentially made by "copy/delete", not with the proper svn rename process as they should have. This is described in the TSVN docs, and in my case the "Repair move" was omitted.

Now I have tree conflicts, when merging the branch back to the trunk:

  • the merging tool does not recognise these renamings, and reports them as tree conflict
  • While the "New interactive conflict resolver" should find such faulty renames, it seems to do so only on incoming changes, not for those in the target (trunk in my case).

Question

  • Can I tell the conflict resolver to look for structural changes in the target (local files), not the incoming tree?

回答1:


Can I tell the conflict resolver to look for structural changes in the target (local files), not the incoming tree?

Yes, you can. More precisely - new resolver do it "automagically": see the last string of table in referenced by you chapter for "Local change - delete, incoming - edit"

Your common (here and in linked question) problem - missing rename-information, which you have to resolve (some handwork needed)^you have to export dump of bad-delete changeset, fix it, import back. I done these trickslong time ago, thus - now I have only ideas of "How To"



来源:https://stackoverflow.com/questions/59422582/subversion-can-i-tell-the-conflict-resolver-to-look-for-structural-changes-not

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!