[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cannot get the revision information from the scm repository :

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Mon, 7 Feb 2011 12:21:20 +0100

Please do not cross-post between users@ and dev@. This is really a
usage question (not about the development of subversion), so belongs
on users@.

[ I've left dev@ in cc for this one reply, please drop it from further
replies. ]

More below ...

On Mon, Feb 7, 2011 at 6:45 AM, Vishal Jain <vishal21_at_gmail.com> wrote:
> Hi,
> I am trying to build my project on Eclipse, netbeans as well as on command
> line
> I am executing mvn install
>
> I am getting following error message :
>
>
> Provider message:
> The svn command failed.
> Command output:
> svn: This client is too old to work with working copy '.'.  You need
> to get a newer Subversion client, or to downgrade this working copy.
> See http://subversion.tigris.org/faq.html#working-copy-format-change
> for details.
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot get the revision information from the scm repository :
> Error!
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7 seconds
> [INFO] Finished at: Mon Feb 07 11:05:56 IST 2011
> [INFO] Final Memory: 24M/44M
> [INFO]
> ------------------------------------------------------------------------
>
> To debug this I browsed to following link :
> http://subversion.tigris.org/faq.html#working-copy-format-change
>
> Over here there is a python script
> change-svn-wc-format.py<http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-svn-wc-format.py>
>
> http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-svn-wc-format.py
>
> I have downloaded this script and trying to run this script.
>
> I have installed python 3.1 to run this script.
>
> When I execute this I am getting following error :
>
> C:\Python31>
> C:\Python31>python change-svn-wc-format.py --help
>  File "change-svn-wc-format.py", line 99
>    except UnrecognizedWCFormatException, e:
>                                        ^
> SyntaxError: invalid syntax

Can you just try it with Python 2.x (2.7 for instance)? I don't know
details about the script, but just know that Python has changed quite
a bit between 2.x and 3.x (and this script certainly pre-dates python
3.x).

Further: as you have probably read in the svn faq entry: to avoid this
issue be careful that all the svn clients you use are from the same
major.minor version (e.g. all 1.6.x clients, or all 1.5.x).

HTH

-- 
Johan
Received on 2011-02-07 12:22:22 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.