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

Re: IOError in cvs2svn.py on Win32

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-07-24 20:36:57 CEST

I finally tracked down what happens. It looks like the co command will
not properly execute. The symptom was an IOError on line 1082
[pipe.close()] in add_or_change_path().

I tried switching from os.popen() to os.popen3() and printing stderr if
an exception was raised, but I believe I am making something wrong, since
nothing was printed.

I am using cvs2svn.py from r6562, RCS 5.7 and SVN 0.25.0 on Win2K SP3.

My PATH statement contains the folder where the CO.EXE file lives, so it
should work. I also made a small Python test program which used
os.popen3 and I confirmed that I could execute CO. I printed the output
from the child process' stderr, and I received the proper messages, as if
I had executed it on the command line.

One thing that might be important. When I run co.exe, it expects to find
an RCS/ folder, and a file with the proper basename in it. It does not
expect the ",v" that CVS appends. Could that be the problem ?

Anyway, if someone could point me in the proper direction, I will do my
best to resolve the issue.

Thanks,
François
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 24 20:37:54 2003

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.