Merging vcproj files - SCM's hell

前端 未结 8 1606
长发绾君心
长发绾君心 2020-12-13 04:23

Merging project/solution files is a well-known disaster among developers/SCM admins performing merges in their source control.

Take, for example, a common scenario:

8条回答
  •  一个人的身影
    2020-12-13 05:22

    What we do with resource files (not so much trouble with project files) is to sort them prior merging. We've configured the merge command on Plastic to actually run a sort (a different app we've developed for that, we can share the code if you're interested, nothing fancy) before merging, so all the random relocations go away... Hope it helps.

提交回复
热议问题