简体   繁体   中英

svn merge include start revision

To merge a range of revisions, we use svn merge -r from to where start and end are revision IDs. This will merge all revisions starting at start+1 up to and INCLUDING end.

It will NOT include the first revision (ex: -r3:45 will merge 4 through 45).

How to include -r3 too when i try to do the merge -r3:45. I know by giving -r2:45 will fix it but i have a script which is grabbing these revisions based on ticket numbers and is missing out on start revision number and causing compile issues.

Is there any arg to pass on svn merge to include start rev too ?

Here are the non-numeric arguments:

  • '{' DATE '}' revision at start of the date (yyyy-mm-dd)
  • 'BASE' base rev of item's working copy
  • 'COMMITTED' last commit at or before BASE
  • 'PREV' revision just before COMMITTED

References

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM