SVN 显示差异命令混淆

  • 本文关键字:命令 显示 SVN svn diff
  • 更新时间 :
  • 英文 :


假设Bob和Alice创建了一个集中式svn存储库。他们都有一个名为 b.txt 的文件。爱丽丝编辑了它并首先提交了副本。鲍勃随后编辑/更新了它,并意识到存在冲突。他做了svn diff命令并得到了这个:

This is going to be tricky.
Yes it will be.
It really will be.
+<<<<<<<.mine
+Bob tried to fix the file.
.I'm sure.
+========
+Alice is changing much.
+I'm sure of that
+ >>>>>>.r[5]
+:( What happened?
+Best of luck!
Best of luck!
+This is a mess.

爱丽丝的档案里有什么?鲍勃的文件中有什么?

爱丽丝的:

This is going to be tricky
Yes it will be.
It really will be.
Alice is changing much.
I'm sure of that

鲍勃的

This is going to be tricky
Yes it will be.
It really will be.
Bob tried to fix the file.
I'm sure
:( What happened?
Best of luck!
Best of luck!
This is a mess

有人可以告诉我我是否正确吗?

+ 是什么意思?>>>>>是什么意思?+==== 是什么意思?我不知道这方面的资源

首先,您可以使用交互式冲突解决工具。它将帮助您解决冲突,而无需处理冲突标记。

如果您仍想手动解决冲突,请阅读文档:

  • SVNBook |手动解决冲突

最新更新