svnpatchrevisions

svn create patch from multiple revisions


If I have changes, commited in revisions 11, 13 , 17, 20 into a branch, can I create an svn patch like this ?

svn diff -r11:20


Solution

  • You can, but don't forget path, which you diffing, canonical 1-st form of svn diff, JFYI, is:

    diff [-c M | -r N[:M]] [TARGET[@REV]...]