diff --git a/tools/mergefromtrunk.bat b/tools/mergefromtrunk.bat index 883ec07dee..784148cb78 100755 --- a/tools/mergefromtrunk.bat +++ b/tools/mergefromtrunk.bat @@ -1,4 +1,4 @@ -@echo off +s@echo off rem ##################################################################### rem Licensed to the Apache Software Foundation (ASF) under one rem or more contributor license agreements. See the NOTICE file @@ -30,14 +30,14 @@ set /a prevRev=%version% - 1 rem build the comment echo "Applied fix from trunk for revision: %version%" > comment.tmp -svn log https://svn.apache.org/repos/asf/ofbiz/trunk -r %version% > log.tmp +svn log https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk -r %version% > log.tmp copy comment.tmp + log.tmp = comment.tmp del log.tmp rem keep the comment.tmp file svn ignored. In case of trouble always happier to keep trace. It will be overidden in next backport. rem commit the backport to release with comment fom file echo on -svn merge -r %prevRev%:%version% https://svn.apache.org/repos/asf/ofbiz/trunk +svn merge -r %prevRev%:%version% https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk echo off :menu diff --git a/tools/mergefromtrunk.sh b/tools/mergefromtrunk.sh index 885752e0d7..b42a4b1466 100755 --- a/tools/mergefromtrunk.sh +++ b/tools/mergefromtrunk.sh @@ -84,13 +84,13 @@ case "$cmd" in # chained pipe; if one of the commands in the pipe fails, # it isn't possible to detect the failure. printf "Applied fix from trunk for revision: %s \n===\n\n" "$rev" > runtime/merge-state/log-message - svn log https://svn.apache.org/repos/asf/ofbiz/trunk -r "$rev" > runtime/merge-state/log.txt + svn log https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk -r "$rev" > runtime/merge-state/log.txt set -- $(wc -l runtime/merge-state/log.txt) head -n $(($1 - 1)) < runtime/merge-state/log.txt > runtime/merge-state/log.txt.head tail -n $(($1 - 4)) < runtime/merge-state/log.txt.head >> runtime/merge-state/log-message prevRev=$(($rev - 1)) svn up - svn merge -r "$prevRev:$rev" https://svn.apache.org/repos/asf/ofbiz/trunk + svn merge -r "$prevRev:$rev" https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk ;; (test) ./gradlew cleanAll loadDefault testIntegration diff --git a/tools/revert.bat b/tools/revert.bat index 9ae446a621..dec852e6de 100644 --- a/tools/revert.bat +++ b/tools/revert.bat @@ -20,4 +20,4 @@ rem ##################################################################### rem to revert back a revision in local copy. echo on -svn up && svn merge -c -%1 https://svn.apache.org/repos/asf/ofbiz/trunk +svn up && svn merge -c -%1 https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk