tangqiaoboy
tangqiaoboy

Reputation: 1476

How to solve xib file's merge conflict?

Our project use svn to manage source version. We have a problem that when a xib is modified by 2 person, it will almost conflict after merging. I've open the confilct file using vim, the information is not readable and I don't know how to solve the merge conflict.

Has anyone met this problem before? How to solve it?

Thanks in advance.

Upvotes: 8

Views: 6157

Answers (2)

WhiteTiger
WhiteTiger

Reputation: 1691

I confirm that just edit the file with a text editor ...

Upvotes: 0

user866650
user866650

Reputation: 19

I would first check if it's possible to manually merge it. The xib is xml file. You can open it with TextEdit.app and search for "<<<" You will see two blocks, mine and the revision from svn.

If it's not possible you would revert your code, update and redo the work. And there are a few other ways to resolve it. How to merge conflicts (file project.pbxproj) in Xcode use svn?

Upvotes: 1

Related Questions