Damon Lipparelli <lipp(a)primus.com> writes in xemacs-beta(a)xemacs.org:
But, what is the CVS branch tag for the 21.2 release?
Use the tag `-rrelease-21-2' on `cvs checkout'. It will get the
latest sources in the branch.
The XEmacs Build 'bot uses the following to obtain fresh source from CVS:[1]
#! /bin/zsh -f
# Written by SL Baur <steve(a)xemacs.org>
# December, 1998
# This file is part of XEmacs and is used by the maintainers
# for creating distributions
# CleanDist: Fetch a brand new distribution tree
# Usage: CleanDist MAJOR MINOR
setopt extendedglob
set -e # Exit at the first sign of trouble
if [ $# != 3 ]; then
echo "Usage: $0: MAJOR MINOR RELOAD"
exit 1
fi
MAJOR=$1
MINOR=$2
RELOAD=$3
export BUILDDIR=xemacs-${MAJOR}.${MINOR}
case ${MAJOR}.${MINOR} in
21.0) release= ;;
21.2) release=-rrelease-21-2 ;;
esac
# First remove the results of the previous build if they are still present
if [ -d ${BUILDDIR} ]; then
if [ -f ${BUILDDIR}/Makefile ]; then
(cd ${BUILDDIR}; make distclean)
fi
[ "$RELOAD" = t ] && cvs -Q release -d ${BUILDDIR}
fi
# Second checkout what will become the next version
[ "$RELOAD" = t ] && cvs checkout ${release} -d ${BUILDDIR} xemacs
exit 0
Footnotes:
[1] This script has a bug in it. If the RELOAD flag isn't set, it
should do `cvs update' instead. It also makes the assumption that
CVSROOT is properly set in the environment.