[Japi-cvs] SF.net SVN: japi:[922] common/trunk
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2009-02-17 11:21:55
|
Revision: 922
http://japi.svn.sourceforge.net/japi/?rev=922&view=rev
Author: christianhujer
Date: 2009-02-17 11:21:48 +0000 (Tue, 17 Feb 2009)
Log Message:
-----------
Fixed svn issue (can't copy own children) with branch.sh and release.sh.
Modified Paths:
--------------
common/trunk/branch.sh
common/trunk/release.sh
Modified: common/trunk/branch.sh
===================================================================
--- common/trunk/branch.sh 2009-02-17 11:03:57 UTC (rev 921)
+++ common/trunk/branch.sh 2009-02-17 11:21:48 UTC (rev 922)
@@ -68,8 +68,9 @@
else
branch=$(getNextMinorBranch)
fi
-branchdir=../branches/$branch
-svn cp . $branchdir
+branchdir=branches/$branch
+cd ..
+svn cp trunk $branchdir
cd $branchdir
svn propset svn:externals "$(svn propget svn:externals . | sed "s/^\^\/common\/trunk common$/^\/comon\/trunk@$(svnversion) common/ " )" .
echo svn commit -m "Created branch $branch." ..
Modified: common/trunk/release.sh
===================================================================
--- common/trunk/release.sh 2009-02-17 11:03:57 UTC (rev 921)
+++ common/trunk/release.sh 2009-02-17 11:21:48 UTC (rev 922)
@@ -44,8 +44,9 @@
# TODO:2009-02-17:christianhujer:Add a check if we really are in trunk/.
tag=$(getNextTag)
-tagdir=../tags/$tag
-svn cp . $tagdir
+tagdir=tags/$tag
+cd ../..
+svn cp branches/$branch $tagdir
cd $tagdir
echo svn commit -m "Created release tag $tag for branch $branch." ..
echo ant dist
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|