Hello! Attached patch backports 'gcc_update explicit use of "svn"' patch [1] to 4.7 branch.
Without this patch, contrib/gcc_update command produces corrupted gcc/REVISION on my F20 system. 2014-02-02 Uros Bizjak <ubiz...@gmail.com> Backport from mainline 2012-05-09 David Edelsohn <dje....@gmail.com> * gcc_update: Use $GCC_SVN to retrieve branch and revision. Bootstrapped on x86_64-pc-linux-gnu and committed to 4.7 branch. [1] http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00675.html Uros.
Index: gcc_update =================================================================== --- gcc_update (revision 207405) +++ gcc_update (working copy) @@ -367,8 +367,8 @@ exit 1 fi - revision=`svn info | awk '/Revision:/ { print $2 }'` - branch=`svn info | sed -ne "/URL:/ { + revision=`$GCC_SVN info | awk '/Revision:/ { print $2 }'` + branch=`$GCC_SVN info | sed -ne "/^URL:/ { s,.*/trunk,trunk, s,.*/branches/,, s,.*/tags/,,