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

Re: [PATCH] cvs2svn on windows (resend)

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

Hi,

I checked the patch, and I guessed that "l" is a lowercase L, and it is
the length of the cvsroot parameter. So, I changed the relative_name()
function to look like this:

def relative_name(cvsroot, fname):
  l = len(cvsroot)
  assert fname[:l] == cvsroot
  assert fname[l] == os.sep
  return string.replace(fname[l + 1:], os.sep, '/')

Then, I ran the tests again. Here are the results of the #4 test:

CMD: cvs2svn.py "--trunk-only" "--create" "-s" "corrupt-svnrepos"
"E:/svn-trunk/
tools/cvs2svn/test-data/corrupt-cvsrepos" <TIME = 3.775000>

E:/svn-trunk/tools/cvs2svn/cvs2svn.py said:

   Traceback (most recent call last):
     File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 2274, in ?
       main()
     File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 2270, in main
       convert(ctx, start_pass=start_pass)
     File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 2149, in convert
       _passes[i](ctx)
     File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 2101, in pass4
       c.commit(dumper, ctx, sym_tracker)
     File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 1849, in commit
       branches)
     File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 1087, in
     add_or_change_p
ath
       pipe.close()
   IOError: (0, 'Error')

FAIL: run-tests.py 4: convert as much as can, despite a corrupt ,v file

So, we still fail.

Hope this helps,
François

On Fri, 25 Jul 2003 14:05:42 -0400, "Francois Beausoleil"
<fbos@users.sourceforge.net> said:
> Ok, I applied Russel's patch. I get an error:
[snip]
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 Fri Jul 25 20:21:01 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.