Commit ce61bf7b by Gerald Pfeifer Committed by Gerald Pfeifer

update_version (IGNORE_BRANCHES): Add.

	* update_version (IGNORE_BRANCHES): Add.
	(BRANCHES): Do not consider branches matching $IGNORE_BRANCHES.

From-SVN: r66377
parent 143f596a
2003-05-02 Gerald Pfeifer <gerald@pfeifer@dbai.tuwien.ac.at> 2003-05-02 Gerald Pfeifer <gerald@pfeifer@dbai.tuwien.ac.at>
* update_version (IGNORE_BRANCHES): Add.
(BRANCHES): Do not consider branches matching $IGNORE_BRANCHES.
2003-05-02 Gerald Pfeifer <gerald@pfeifer@dbai.tuwien.ac.at>
* update_version: Add a trace of which branch we are currently * update_version: Add a trace of which branch we are currently
working on. working on.
......
#!/bin/sh #!/bin/sh
# Run this from /tmp.
CVSROOT=${CVSROOT:-/cvs/gcc} CVSROOT=${CVSROOT:-/cvs/gcc}
IGNORE_BRANCHES='gcc-(2_95|3_0|3_1|3_2)-branch'
# Run this from /tmp.
export CVSROOT export CVSROOT
/bin/rm -rf /tmp/$$ /bin/rm -rf /tmp/$$
/bin/mkdir /tmp/$$ /bin/mkdir /tmp/$$
...@@ -14,7 +16,8 @@ CVS=${CVS:-/usr/local/bin/cvs} ...@@ -14,7 +16,8 @@ CVS=${CVS:-/usr/local/bin/cvs}
$CVS co gcc/ChangeLog $CVS co gcc/ChangeLog
BRANCHES=`$CVS status -v gcc/ChangeLog \ BRANCHES=`$CVS status -v gcc/ChangeLog \
| awk '{print $1;}' \ | awk '{print $1;}' \
| egrep 'gcc-[0-9]+_[0-9]+-branch$'` | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
| egrep -v $IGNORE_BRANCHES`
# Always update the mainline. # Always update the mainline.
BRANCHES="${BRANCHES} HEAD" BRANCHES="${BRANCHES} HEAD"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment