是否可以为提交后提交期间受影响的所有文件创建补丁(差异文件)?这些文件的版本号相同,我需要每个文件与先前版本的区别。
Answers:
如果您知道修订号(例如123和124),则可以使用:
svn diff -r123:124 path/to/my_project_folder > ~/my_project_changes_123_124.patch
虽然已经回答了简单的版本如下,
1, Source Code Location > Tortoize SVN > show log
2, Select the revision which has your commit
3, Right Click > select > Show changes as unified diff
4, Pop up with differences of all files in that commit come
5, Copy the entire content and create a new file with the extension of .patch
我从下面的链接https://groups.google.com/forum/#!topic/tortoisesvn/xV-hemaFdFU中引用
svn help diff
,它告诉我svn diff --old=OLD-URL[@OLDREV] --new=NEW-URL[@NEWREV]
哪些还可以比较两个修订。