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

Re: converting cvs to svn with vcp: call for testers

From: Timothee Besset <ttimo_at_idsoftware.com>
Date: 2003-07-03 11:08:31 CEST

After the usual battling against CPAN to get everything installed
(sometimes it's good to see that the years go by, and the same things
still suck as much).

I suppose a list of the stuff I had to install would be useful:
cpan> install VCP IPC::Run IPC::Run3 MIME::Base64 Pod::Links Regexp::Shellish Text::Diff XML::Parser XML::ValidWriter
(won't go over the CPAN nastyness and all the crap I had to go through to get this to work)

Also, the ability to specify a custom cvs path would be good. The server
on which I run that uses a different name for cvs.

Then the test fails to run (make test TEST_FILES=t/99cvs2svn.t)

I tried to investigate this, looks like the repositories don't exist.
Tried manually creating a svnadmin create /tmp/svntest but it didn't help.
I think that's overly broken atm.

revml$ make test TEST_FILES=t/99cvs2svn.t
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/i686-linux -I/usr/local/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/99cvs2svn.t
t/99cvs2svn....# Failed test (t/99cvs2svn.t at line 72)
t/99cvs2svn....NOK 1subversion/libsvn_ra_local/ra_plugin.c:225: (apr_err=180000)
svn: Couldn't find a repository.
svn: Unable to open an ra_local session to URL
subversion/libsvn_ra_local/split_url.c:153: (apr_err=180000)
svn: svn_ra_local__split_URL: Unable to find valid repository
   (file:///tmp/vcptest-full-prune-5137/svnrepo/trunk)
t/99cvs2svn....NOK 2# Failed test (t/99cvs2svn.t at line 20)
t/99cvs2svn....ok 3/0diff: full-prune.svn: No such file or directory
t/99cvs2svn....ok 4/0subversion/libsvn_ra_local/ra_plugin.c:225: (apr_err=180000)
svn: Couldn't find a repository.
svn: Unable to open an ra_local session to URL
subversion/libsvn_ra_local/split_url.c:153: (apr_err=180000)
svn: svn_ra_local__split_URL: Unable to find valid repository
   (file:///tmp/vcptest-full-prune-5137/svnrepo/tags)
subversion/libsvn_ra_local/ra_plugin.c:225: (apr_err=180000)
svn: Couldn't find a repository.
svn: Unable to open an ra_local session to URL
subversion/libsvn_ra_local/split_url.c:153: (apr_err=180000)
svn: svn_ra_local__split_URL: Unable to find valid repository
   (file:///tmp/vcptest-full-prune-5137/svnrepo/branches)
# Failed test (t/99cvs2svn.t at line 72)
t/99cvs2svn....NOK 5subversion/libsvn_ra_local/ra_plugin.c:225: (apr_err=180000)
svn: Couldn't find a repository.
[..]
DIED. FAILED tests 1-2, 5-6, 9-10, 13-14, 17-18, 21-22, 25-26
        Failed 14/28 tests, 50.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/99cvs2svn.t 14 3584 28 14 50.00% 1-2 5-6 9-10 13-14 17-18 21-22 25-
                                             26
Failed 1/1 test scripts, 0.00% okay. 14/28 subtests failed, 50.00% okay.
make: *** [test_dynamic] Error 2

TTimo

On Thu, 3 Jul 2003 15:40:30 +0800
Chia-liang Kao <clkao@clkao.org> wrote:

> Hi,
>
> I've just done a testing script for converting cvs repository
> to subversion with vcp, and checks the resulting repository.
> now I've tested vcp with the test-data in cvs2svn and my own.
> I'd like to ask for people who are interested in converting
> cvs to svn help checking if vcp does the right conversion for
> you.
>
> the testscript will convert all cvs modules in the cvsroot
> specified, and do diff -ru for the branches/tags checked
> out from cvs repository and the resulting svn repository.
>
> how to test:
>
> % svn checkout http://svn.clkao.org/revml/trunk/ revml
> % cd revml; perl Makefile.PL # please fix the depedencies
>
> # this checks the default test data at t/cvs-test-data
> % make test TEST_FILES=t/99cvs2svn.t
>
> # test your repository
> % make test TEST_FILES=t/99cvs2svn.t VCP_CVSROOT=/path/to/repo TEST_VERBOSE=1
>
> Cheers,
> CLK
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 3 11:09:29 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.