diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog
index f0742495c008c6880579115fa30722db447e81d7..8207c42166fbed021fe3c5386eaf943a15c0ac1a 100644
--- a/maintainer-scripts/ChangeLog
+++ b/maintainer-scripts/ChangeLog
@@ -1,3 +1,9 @@
+2003-05-09  Gerald Pfeifer  <gerald@sourceware.org>
+
+	* update_version (ADD_BRANCHES): Add, set to MAIN and
+	tree-ssa-20020619-branch.
+	(BRANCHES): Always consider branches given by $ADD_BRANCHES.
+
 2003-05-04  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
 
 	* update_version (textstring_FILES): Only version.c needs to be
diff --git a/maintainer-scripts/update_version b/maintainer-scripts/update_version
index 715f8b6645a7e6d75bdf25d7ba5f44174ee1643c..b8e8a1e7a5e0b748b63af4b004894f1633635bb7 100755
--- a/maintainer-scripts/update_version
+++ b/maintainer-scripts/update_version
@@ -2,6 +2,7 @@
 
 CVSROOT=${CVSROOT:-/cvs/gcc}
 IGNORE_BRANCHES='gcc-(2_95|3_0|3_1|3_2)-branch'
+ADD_BRANCHES='HEAD tree-ssa-20020619-branch'
 
 # Run this from /tmp.
 export CVSROOT
@@ -19,7 +20,7 @@ BRANCHES=`$CVS status -v gcc/ChangeLog \
           | egrep 'gcc-[0-9]+_[0-9]+-branch$' \
           | egrep -v $IGNORE_BRANCHES`
 # Always update the mainline.
-BRANCHES="${BRANCHES} HEAD"
+BRANCHES="${BRANCHES} ${ADD_BRANCHES}"
 
 # ARGS is passed to 'cvs co'
 CURR_DATE=`/bin/date +"%Y%m%d"`