# Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: robertc@robertcollins.net-20071230002222-\ # e5kae9czem63ux4z # target_branch: file:///home/robertc/archives/robertc%40squid-\ # cache.org--squid/squid/3.0/cvsps-HEAD/ # testament_sha1: ccb5a5b25492531abe14f982c2dd791f98b573bf # timestamp: 2007-12-30 11:23:27 +1100 # base_revision_id: cvs-1:hno-20071220081046-d59dmpbuvvyioekf # # Begin patch === modified file 'configure.in' --- configure.in 2007-12-19 09:36:26 +0000 +++ configure.in 2007-12-30 00:22:22 +0000 @@ -5,7 +5,7 @@ dnl dnl dnl -AC_INIT(Squid Web Proxy, 3.HEAD-CVS, http://www.squid-cache.org/bugs/, squid) +AC_INIT(Squid Web Proxy, 3.HEAD-BZR, http://www.squid-cache.org/bugs/, squid) AC_PREREQ(2.52) AM_CONFIG_HEADER(include/autoconf.h) AC_CONFIG_AUX_DIR(cfgaux) === modified file 'mkrelease.sh' --- mkrelease.sh 2007-08-31 02:31:41 +0000 +++ mkrelease.sh 2007-12-30 00:22:22 +0000 @@ -3,8 +3,12 @@ echo "Usage: $0 revision [destination]" exit 1 fi +# VCS details +module=squid3 +BZRROOT=${BZRROOT:-/bzr} + +# infer tags from command line details package=squid -module=squid3 rev=`echo $1 | sed -e "s/^${package}-//"` name=${package}-${rev} tag=`echo ${name} | tr a-z.- A-Z__` @@ -24,32 +28,29 @@ tmpdir=${TMPDIR:-${PWD}}/${name}-mkrelease -CVSROOT=${CVSROOT:-/server/cvs-server/squid} -export CVSROOT - rm -rf $name.tar.gz $tmpdir trap "rm -rf $tmpdir" 0 -cvs -Q export -d $tmpdir -r $tag $module +bzr export $tmpdir $BZRROOT/$module/tags/$tag || exit 1 if [ ! -f $tmpdir/configure ]; then echo "ERROR! Tag $tag not found in $module" fi cd $tmpdir -eval `grep "^ *VERSION=" configure | sed -e 's/-CVS//'` +eval `grep "^ *VERSION=" configure | sed -e 's/-BZR//'` eval `grep "^ *PACKAGE=" configure` if [ ${name} != ${PACKAGE}-${VERSION} ]; then - echo "ERROR! The version numbers does not match!" + echo "ERROR! The tag and configure version numbers do not match!" echo "${name} != ${PACKAGE}-${VERSION}" exit 1 fi RELEASE=`echo $VERSION | cut -d. -f1,2 | cut -d- -f1` ed -s configure.in <