subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Berglund <bo.bergl...@gmail.com>
Subject Re: EOL problems in cvs2svn converted repository
Date Sat, 10 Feb 2018 15:29:13 GMT
On Fri, 9 Feb 2018 14:06:33 -0600, Ryan Schmidt
<subversion-2018@ryandesign.com> wrote:

>If you want to do it after the conversion by just setting the 
>property starting now, without altering history, then check out 
>a working copy, set the properties where you want them, then check it in.

I think this is what I want to do, but preferrably in a semi-automatic
way. I.e. I would like to automatically find all instances of affected
files (via the client config auto-properties entries) and then apply
to the current working copy. So the contrib Python script
svn_apply_autoprops.py might be a choice.

And, yes, I am working on Windows with this. 

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?


-- 
Bo Berglund
Developer in Sweden


Mime
View raw message