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

Re: EOL problems in cvs2svn converted repository

From: Ryan Schmidt <subversion-2018_at_ryandesign.com>
Date: Sun, 11 Feb 2018 00:13:27 -0600

On Feb 10, 2018, at 09:29, Bo Berglund wrote:

> I tried the contrib py script on my Windows machine as follows:
>
> python svn_apply_autoprops.py --config %APPDATA%\Subversion\config
> D:\Engineering\Projects\Subversion\EI
> Traceback (most recent call last):
> File "svn_apply_autoprops.py", line 195, in <module>
> sys.exit(main())
> File "svn_apply_autoprops.py", line 192, in main
> os.path.walk(wc_path, filter_walk, autoprop_lines)
> File "C:\Programs\Python\lib\ntpath.py", line 263, in walk
> walk(name, func, arg)
> File "C:\Programs\Python\lib\ntpath.py", line 259, in walk
> func(arg, top, names)
> File "svn_apply_autoprops.py", line 147, in filter_walk
> status = os.spawnvp(os.P_WAIT, 'svn', command)
> AttributeError: 'module' object has no attribute 'spawnvp'
>
>
> Maybe it is not supposed to work on Windows?
> I have Python 2.7.1 installed in my PC.
> Should I instead check out the projects on Linux to make it work?

According to a quick Google search, Python on Windows does not have spawnvp, so the script will not work on Windows as written.
Received on 2018-02-11 07:13:43 CET

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

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