0
点赞
收藏
分享

微信扫一扫

diff和patch


test0修改为test1,给test0生成patch文件

diff -uN test0 test1 > test1.patch

给test0打patch文件,升级为test1

patch -R test0 < test1.patch 

 

生成MergeRegionInputFormat对svn修改的patch文件

svn diff MergeRegionInputFormat.java > testpath

给MergeRegionInputFormat打patch文件,升级为最新patch版

svn patch MergeRegionInputFormat < testpath

举报

相关推荐

0 条评论