//生成补丁

svn diff > patchname.patch

//打补丁

patch -p0 < /patches/20170309.patch

//查找打补丁过程中的失败文件

find . -name '*.rej' 

//取消打补丁

patch -p0 -RE < /patches/20170309.patch

进一步阅读

  • http://stackoverflow.com/questions/11531693/patch-only-garbage-was-found-in-the-patch-input
  • http://blog.csdn.net/misiter/article/details/7395608

发表评论