Patchwork Remove traces of CVS from maintainer-scripts/update_version_svn

login
register
mail settings
Submitter Gerald Pfeifer
Date Jan. 30, 2011, 8:47 p.m.
Message ID <alpine.LNX.2.00.1101302049250.14698@gerinyyl.fvgr>
Download mbox | patch
Permalink /patch/81045/
State New
Headers show

Comments

Gerald Pfeifer - Jan. 30, 2011, 8:47 p.m.
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.

Patch

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`