Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有更改,在修订版 11、13、17、20 中提交到分支中,我可以创建这样的 svn 补丁吗?
svn 差异 -r11:20
你可以,但不要忘记你所区分的路径,svn diffJFYI 的规范第一形式是:
svn diff
diff [-c M | -r N[:M]] [TARGET[@REV]...]
这应该足够了:)
svn diff -rFIRSTREVISION:LATESTREVISION pathOfWorkingCopy > /myPatchFile.patch