2005-12-15 H.J. Lu * gcc_update: Create gcc/REVISION with branch name and revision number. Index: contrib/gcc_update =================================================================== --- contrib/gcc_update (revision 108596) +++ contrib/gcc_update (working copy) @@ -250,8 +250,18 @@ exit 1 fi +rm -f info.$$ + +svn info > info.$$ +revision=`grep Revision: info.$$ | awk '{ print $2 }'` +branch=`grep URL: info.$$ | sed -e "s,.*/,,g"` { date - echo "`TZ=UTC date` (revision `svnversion .`)" + echo "`TZ=UTC date` (revision $revision)" } > LAST_UPDATED + +rm -f info.$$ + +echo "($branch revision $revision)" > gcc/REVISION + touch_files_reexec