我正在使用unix机器&我在旧沙箱上做了一个差异:
svn diff -x -w . > ~todays.diff
并将补丁应用于新沙箱:
patch -p0 -i ~todays.diff
但我收到了这些错误:
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
patch: **** misordered hunks! output would be garbled
我在这里做错了什么?
答案 0 :(得分:1)
patch
来应用svn diff
中的补丁,您有svn patch
(如果出现合并冲突,则会解决合并冲突)