treefrog
treefrog

Reputation: 1057

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

Upvotes: 4

Views: 5753

Answers (2)

jorgevasquezang
jorgevasquezang

Reputation: 1008

this should be enough :)

svn diff -rFIRSTREVISION:LATESTREVISION pathOfWorkingCopy > /myPatchFile.patch

Upvotes: 1

Lazy Badger
Lazy Badger

Reputation: 97280

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]...]

Upvotes: 2

Related Questions