This repository was archived by the owner on May 9, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -29,22 +29,22 @@ set /a prevRev=%version% - 1
2929
3030rem build the comment
3131echo " Applied fix from trunk for revision: %version% " > comment.tmp
32- svn log https://svn.apache.org/repos/asf/ofbiz/trunk -r %version% > log.tmp
32+ svn log https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/ trunk -r %version% > log.tmp
3333copy comment.tmp + log.tmp = comment.tmp
3434del log.tmp
3535rem keep the comment.tmp file svn ignored. In case of trouble always happier to keep trace. It will be overidden in next backport.
3636
3737rem commit the backport to release with comment fom file
3838echo on
39- svn merge -r %prevRev% :%version% https://svn.apache.org/repos/asf/ofbiz/trunk
39+ svn merge -r %prevRev% :%version% https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/ trunk
4040echo off
4141
4242:menu
4343echo y) tests
4444echo n) exit
4545
4646echo Do you want to run tests (else the commit will be done automatically using the comment grabed from trunk by the merge)?
47- choice /c:yn
47+ choice /c:yn
4848if errorlevel = 2 goto commit
4949if errorlevel = 1 goto tests
5050
Original file line number Diff line number Diff line change @@ -84,13 +84,13 @@ case "$cmd" in
8484 # chained pipe; if one of the commands in the pipe fails,
8585 # it isn't possible to detect the failure.
8686 printf " Applied fix from trunk for revision: %s \n===\n\n" " $rev " > runtime/merge-state/log-message
87- svn log https://svn.apache.org/repos/asf/ofbiz/trunk -r " $rev " > runtime/merge-state/log.txt
87+ svn log https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/ trunk -r " $rev " > runtime/merge-state/log.txt
8888 set -- $( wc -l runtime/merge-state/log.txt)
8989 head -n $(( $1 - 1 )) < runtime/merge-state/log.txt > runtime/merge-state/log.txt.head
9090 tail -n $(( $1 - 4 )) < runtime/merge-state/log.txt.head >> runtime/merge-state/log-message
9191 prevRev=$(( $rev - 1 ))
9292 svn up
93- svn merge -r " $prevRev :$rev " https://svn.apache.org/repos/asf/ofbiz/trunk
93+ svn merge -r " $prevRev :$rev " https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/ trunk
9494 ;;
9595 (test)
9696 ./ant clean-all
You can’t perform that action at this time.
0 commit comments