Generate patch
svn diff -r 421:438 > r421_438.patch
Beat patch
svn patch r421_438.patch
diff -r 421: 438 is later r421 to r438, all changes in the current directory, excluding r421 modifications.
diff -r 421-438 is r421 to r438, all changes in the current directory, including r421 modifications.
diff -r 421: 422 is r422, all changes in the current directory, modify the r422 display this submission.
diff -c 422 to keep his party in expressing the changes r422.
diff -c -422 to keep up with the opposite line, it represents the anti-r422 modification, you can submit this patch rollback r422.
patch applied only modified files working directory, you need to submit svn, can really fit into a branch.
Reference material
- https://blog.csdn.net/ameyume/article/details/7766722
- https://blog.csdn.net/caz28/article/details/52869407