This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove traces of CVS from maintainer-scripts/update_version_svn
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 30 Jan 2011 21:47:26 +0100 (CET)
- Subject: Remove traces of CVS from maintainer-scripts/update_version_svn
When looking into the script that bumps gcc/DATESTAMP on active
release branches every night, I noticed a couple of oddities around
it still referring to CVS.
Fixed thusly.
Gerald
2011-01-30 Gerald Pfeifer <gerald@pfeifer.com>
* update_version_svn (SVN): Remove obsolete comment.
(CURR_DATE): Fix description.
Fix description of checkout procedure.
Index: update_version_svn
===================================================================
--- update_version_svn (revision 169412)
+++ update_version_svn (working copy)
@@ -15,7 +15,6 @@
/bin/mkdir /tmp/$$
cd /tmp/$$
-# The path to cvs.
SVN=${SVN:-/usr/bin/svn}
# Compute the branches which we should update.
@@ -26,7 +25,7 @@
# Always update the mainline.
BRANCHES="${BRANCHES} ${ADD_BRANCHES}"
-# ARGS is passed to 'cvs co'
+# This is put into the datestamp files.
CURR_DATE=`/bin/date +"%Y%m%d"`
# version is all there is
@@ -38,9 +37,7 @@
RESULT=0
for BRANCH in $BRANCHES; do
echo "Working on \"$BRANCH\"."
- # Check out the files on the branch. HEAD is a special case; if
- # you check out files with -r HEAD, CVS will not let you check
- # in changes.
+ # Check out the files on the branch. HEAD is in a different namespace.
if test "$BRANCH" = HEAD; then
for i in $FILES; do
${SVN} -q co -N ${SVNROOT}/trunk/`dirname $i` `basename $i`