- Timestamp:
- Aug 10, 2020 3:25:45 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo
-
old new 10 10 /branches/VBox-5.2:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,124260,124263,124271,124273,124277-124279,124284-124286,124288-124290,125768,125779-125780,125812 11 11 /branches/VBox-6.0:130474-130475,130477,130479,131352 12 /branches/VBox-6.1:139660 12 /branches/VBox-6.1:139660,139797 13 13 /branches/aeichner/vbox-chromium-cleanup:129816,129818-129851,129853-129861,129871-129872,129876,129880,129882,130013-130015,130036,130094-130095 14 14 /branches/andy/draganddrop:90781-91268
-
- Property svn:mergeinfo
-
trunk/tools/bin/backport-commit.sh
r85586 r85668 51 51 ;; 52 52 [0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9]|[0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9][0-9]|[0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9][0-9][0-9]) 53 MY_REV_FIRST=${MY_REV%-*} 54 MY_REV_LAST=${MY_REV#*-} 55 if test -z "${MY_REV_FIRST}" -o -z "${MY_REV_LAST}" -o '(' '!' "${MY_REV_FIRST}" -lt "${MY_REV_LAST}" ')'; then 56 echo "error: failed to get revisions from svn:mergeinfo - MY_REV_FIRST=${MY_REV_FIRST} MY_REV_LAST=${MY_REV_LAST} MY_REV=${MY_REV}" 57 exit 1 58 fi 59 MY_REV=${MY_REV_FIRST} 60 while test ${MY_REV} -le ${MY_REV_LAST}; 61 do 62 AddRevision "${MY_REV}" 63 MY_REV=$(${MY_EXPR} ${MY_REV} + 1) 64 done 53 AddRevisionRange "${MY_REV}" 65 54 ;; 66 55 -
trunk/tools/bin/backport-common.sh
r85589 r85668 60 60 } 61 61 62 AddRevisionRange() 63 { 64 MY_REV=$1 65 MY_REV_FIRST=${MY_REV%-*} 66 MY_REV_LAST=${MY_REV#*-} 67 if test -z "${MY_REV_FIRST}" -o -z "${MY_REV_LAST}" -o '(' '!' "${MY_REV_FIRST}" -lt "${MY_REV_LAST}" ')'; then 68 echo "error: Failed to parse revision range: MY_REV_FIRST=${MY_REV_FIRST} MY_REV_LAST=${MY_REV_LAST} MY_REV=${MY_REV}" 69 exit 1 70 fi 71 MY_REV=${MY_REV_FIRST} 72 while test ${MY_REV} -le ${MY_REV_LAST}; 73 do 74 AddRevision "${MY_REV}" 75 MY_REV=$(${MY_EXPR} ${MY_REV} + 1) 76 done 77 } 78 62 79 # 63 80 # Figure default branch given the script location. … … 98 115 [0-9][0-9][0-9][0-9][0-9]|[0-9][0-9][0-9][0-9][0-9][0-9]|[0-9][0-9][0-9][0-9][0-9][0-9][0-9]) 99 116 AddRevision ${ARG} 117 ;; 118 119 [0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9]|[0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9][0-9]|[0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9][0-9][0-9]) 120 AddRevisionRange ${ARG} 121 ;; 122 r[0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9]|r[0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9][0-9]|r[0-9][0-9][0-9][0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9][0-9][0-9][0-9]) 123 MY_REV=`echo "${ARG}" | "${MY_SED}" -e 's/^r//'` 124 AddRevisionRange ${MY_REV} 100 125 ;; 101 126
Note:
See TracChangeset
for help on using the changeset viewer.