我在UNIX機器&上工作,我做了我的老沙箱中的DIFF:svn補丁錯誤:補丁:****錯誤的笨蛋!輸出會出現亂碼
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
我在做什麼錯在這裏?
嘗試「svn patch」(svn help patch),也許它有效 – Thomas
「patch」和「svn patch」是兩個不同的東西嗎? – brokenfoot
是的。順便說一句,我也經常使用補丁來修補svn diffs,但有一點點不同的語法:「patch -p0
Thomas