(BRANCHES): Do not consider branches matching $IGNORE_BRANCHES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66377
138bc75d-0d04-0410-961f-
82ee72b054a4
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
working on.
#!/bin/sh
-# Run this from /tmp.
CVSROOT=${CVSROOT:-/cvs/gcc}
+IGNORE_BRANCHES='gcc-(2_95|3_0|3_1|3_2)-branch'
+
+# Run this from /tmp.
export CVSROOT
/bin/rm -rf /tmp/$$
/bin/mkdir /tmp/$$
$CVS co gcc/ChangeLog
BRANCHES=`$CVS status -v gcc/ChangeLog \
| 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.
BRANCHES="${BRANCHES} HEAD"