This fixes a build error in trunk.  Before:

# cat gcc/REVISION 
[trunk
trunk revision 202083]

and after:

$ cat gcc/REVISION 
[trunk revision 202083]

$ svn info
Path: .
Working Copy Root Path: /Users/mrs/net/gcc
URL: svn+ssh://m...@gcc.gnu.org/svn/gcc/trunk
Relative URL: ^/trunk
Repository Root: svn+ssh://m...@gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 202083
Node Kind: directory
Schedule: normal
Last Changed Author: timshen
Last Changed Rev: 202082
Last Changed Date: 2013-08-29 11:33:07 -0700 (Thu, 29 Aug 2013)


The Relative URL was messing it up.  This is with svn:

$ svn --version
svn, version 1.8.1 (r1503906)

which required an upgrade on the old repository.

I checked this in.


2013-08-29  Mike Stump  <mikest...@comcast.net>

        * gcc_update (configure): Update to handle svn 1.8.1.

Index: contrib/gcc_update
===================================================================
--- contrib/gcc_update  (revision 202083)
+++ contrib/gcc_update  (working copy)
@@ -385,7 +385,7 @@ case $vcs_type in
        fi
 
        revision=`$GCC_SVN info | awk '/Revision:/ { print $2 }'`
-       branch=`$GCC_SVN info | sed -ne "/URL:/ {
+       branch=`$GCC_SVN info | sed -ne "/^URL:/ {
            s,.*/trunk,trunk,
            s,.*/branches/,,
            s,.*/tags/,,

Reply via email to