[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:kbulgrien
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Fri Dec 12 00:24:05 CST 2008
A page in your DokuWiki was added or changed. Here are the details:
Date : 2008/12/12 00:24
User : kbulgrien
Edit Summary: Change the SVN sparse checkout to svn-co.sh that supports both kinds of checkout.
@@ -22,26 +22,98 @@
* [[http://www.gnu.org/software/automake/manual/autoconf/Portable-Make.html#Portable-Make|Automake Manual Chapter]]
====Portable C/C++====
* [[http://www.gnu.org/software/automake/manual/autoconf/Portable-C-and-C_002b_002b.html#Portable-C-and-C_002b_002b|Automake Manual Chapter]]
- =====SVN 1.5.x Sparse Checkout=====
+ =====SVN Scripts=====
- To do a top-level repository checkout of trunk and branches/1.x so that a single ''svn up'' will update the whole checkout, the following has been tried and works:
+ ====svn-co.sh====
+
+ This script can do svn 1.5.x sparse checkouts or pre-1.5 checkouts. Set the if true/false as desired to get trunk, branch or both, but do not select both SVN 1.5.x Sparse Checkout and Pre-SVN 1.5 Checkout.
+
+ Create the desired development directory first, then run the script to checkout. For example:
cd /home/devel/crossfire
- svn co --depth=immediates https://crossfire.svn.sourceforge.net/svnroot/crossfire .
- for dir in arch jxclient maps server client metaserver sounds
- do
- svn update --depth=infinity ${dir}/trunk
- done
- for dir in arch maps server sounds client
- do
- svn update --depth=files ${dir}/branches
- done
- for dir in arch maps server client
- do
- svn update --depth=infinity ${dir}/branches/1.x
- done
+ bash svn-co.sh
+
+ The script:
+
+ #
+ # Pre-SVN 1.5 Checkout
+ #
+ if false
+ then
+ CMD=""
+ CWD=$(pwd)
+ URL="https://crossfire.svn.sourceforge.net/svnroot/crossfire"
+ #
+ # Trunk
+ #
+ if true
+ then
+ for file in arch client jxclient maps metaserver server sounds
+ do
+ DIR="${file}/trunk/"
+ if [ ! -d "${DIR}" ]
+ then
+ echo -e "\n${DIR}\n"
+ CMD="svn co ${*} ${URL}/${DIR} ${DIR}"
+ ${CMD}
+ fi
+ done
+ fi
+ #
+ # Branches/1.x
+ #
+ if true
+ then
+ for file in arch client jxclient maps metaserver server sounds
+ do
+ DIR="${file}/branches/1.x/"
+ if [ ! -d "${DIR}" ]
+ then
+ echo -e "\n${DIR}\n"
+ CMD="svn co ${*} ${URL}/${DIR} ${DIR}"
+ ${CMD}
+ fi
+ done
+ fi
+ echo
+ fi
+ #
+ # SVN 1.5.x Sparse Checkout
+ #
+ if true
+ then
+ svn co --depth=empty https://crossfire.svn.sourceforge.net/svnroot/crossfire .
+ for dir in arch maps server client sounds
+ do
+ svn update --depth=files ${dir}
+ done
+ #
+ # Trunk
+ #
+ if true
+ then
+ for dir in arch maps server client sounds
+ do
+ svn update --depth=infinity ${dir}/trunk
+ done
+ fi
+ #
+ # Branch
+ #
+ if true
+ then
+ for dir in arch maps server sounds client
+ do
+ svn update --depth=files ${dir}/branches
+ done
+ for dir in arch maps server client
+ do
+ svn update --depth=infinity ${dir}/branches/1.x
+ done
+ fi
+ fi
=====Configure Scripts=====
====trunk.autogen.sh====
IP-Address : 70.242.228.82
Old Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien?rev=1229061167
New Revision: http://wiki.metalforge.net/doku.php/user:kbulgrien
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list