You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Volker Goetz <go...@sectionone.de> on 2002/11/08 21:35:41 UTC

Suggestion for cvs2svn.py

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm tried to get cvs2svn.py working and ran into the problem of how to 
install the required rcsparse.py and cvs2svn.py modules (I have absolut no 
clue about python).

The second problem was python versions. I have 1.5.x and 2.2 on my RedHat 
box. Using just "python" calls the 1.5 interpreter/compiler which fails to 
run the script.

Perhaps it's worth putting the two required modules into the repository or 
at least putting a note to the README where to find and how to install 
them. Also, there should be a hint that python 2.x is required. In case of 
me environment just changing "...env python" to "...evn pyhton2" at top of 
the script or calling "python2 cvs2svn.py" works fine.


Volker Götz

- ---------------------------------------------------------------
section(one              Mail goetz@sectionone.de
Dipl.-Inform. Univ.      Web  http://www.sectionone.de/
Volker Götz              Tel. 0931/61 94 94-0
Unterer Weg 26           Fax  0931/61 94 94-15
97084 Würzburg           PGP  4FEB1C34 @ wwwkeys.de.pgp.net
- ---------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9zC4xWM9gHU/rHDQRAoDNAJ9c5HSVWW+8GExZc6dREx05vyegSACcDCbH
0errt8tRUgoG8o7OCLGWgws=
=1WzV
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Suggestion for cvs2svn.py

Posted by Volker Goetz <go...@sectionone.de>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

another caveat I ran into: If both Berkeley DB 4 and an older version are 
installed python may run into problems loading the correct shared lib. I 
used LD_PRELOAD to pre-load the right library on program startup:

export LD_PRELOAD=/usr/local/BerkeleyDB.4.0/lib/libdb-4.so


Volker Götz

- ---------------------------------------------------------------
section(one              Mail goetz@sectionone.de
Dipl.-Inform. Univ.      Web  http://www.sectionone.de/
Volker Götz              Tel. 0931/61 94 94-0
Unterer Weg 26           Fax  0931/61 94 94-15
97084 Würzburg           PGP  4FEB1C34 @ wwwkeys.de.pgp.net
- ---------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9zDhgWM9gHU/rHDQRAnXxAJ0VZo4eJiA4oHPXb+JWXAvdzO9VZwCfUdZc
671vHABzRAzCaOm+vUhmd2w=
=HDlU
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Suggestion for cvs2svn.py

Posted by Nuutti Kotivuori <na...@iki.fi>.
Zack Brown wrote:
> On Fri, Nov 08, 2002 at 10:35:41PM +0100, Volker Goetz wrote:
>> Perhaps it's worth putting the two required modules into the
>> repository or at least putting a note to the README where to find
>> and how to install them. Also, there should be a hint that python
>> 2.x is required. In case of me environment just changing "...env
>> python" to "...evn pyhton2" at top of the script or calling
>> "python2 cvs2svn.py" works fine.
> 
> Maybe the .deb file maintainer could add these dependencies as well.

'apt-get install subversion-tools'

,----
| Package: subversion-tools
| Version: 0.14.5-1
| Depends: python2.2-subversion, subversion, rcs, python2.2
`----

,----
| aka:~# cvs2svn 
| USAGE: cvs2svn [-n] [-v] [-s svn-repos-path] [-p pass] cvs-repos-path
| ...
`----

As far as I can see, the .deb maintainer is doing a very good job. If
you find a dependency problem, please file it in the debian
bug-tracking system.

-- Naked


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org