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

FW: (Newbie) Problems using "cvs2svn" on Windows, with a CVSNT re pository

From: Rob van Oostrum <rob.vanoostrum_at_blastradius.com>
Date: 2004-03-12 15:31:14 CET

-----Original Message-----
From: Rob van Oostrum
Sent: Friday, March 12, 2004 9:31 AM
To: 'Christopher Brown'
Subject: RE: (Newbie) Problems using "cvs2svn" on Windows, with a CVSNT
repository

couple things ...

- for GNU sort you could install Cygwin
- I've had some weird behavior (never looked too closely into it) with
--create on W2K, I find it's more reliable to create the SVN repos
beforehand
- I *think* you need to pass absolute paths for the whole thing to work
properly but I'm not sure
- use forward slashes only

> -----Original Message-----
> From: Christopher Brown [mailto:christopher@calligrafix.com]
> Sent: Friday, March 12, 2004 8:37 AM
> To: users@subversion.tigris.org
> Subject: FW: (Newbie) Problems using "cvs2svn" on Windows,
> with a CVSNT
> repository
>
>
>
> Nobody seems to use the "cvs2svn" list, so I'll repost here...
>
> - Chris
>
> -----Original Message-----
> From: Christopher Brown [mailto:christopher@calligrafix.com]
> Sent: 12 March 2004 10:18
> To: users@cvs2svn.tigris.org
> Subject: (Newbie) Problems using "cvs2svn" on Windows, with a CVSNT
> repository
>
>
> Hello,
>
> I'm having difficulty converting a CVS repository to a Subversion
> repository.
>
> I'm using Subversion 1.0.0 on Windows XP. I've checked out
> the current
> version of "cvs2svn". I've installed Python 2.3.2. I've
> installed (and
> added to the path) the Windows version of "RCS", using the
> link specified in
> cvs2svn's "README" file. I can't see what I need to do to
> work with GNU
> "sort", but I don't think I've got that far yet...?
>
> I am trying to convert based on a local filesystem copy of
> the repository.
> The original repository runs with CVSNT. I've put my CVS
> repository files
> in a subfolder of the folder in which I've put "cvs2svn",
> namely "myrepos",
> and would like to create the SVN repository in a subfolder named
> "mysvn\proj".
>
> Running the following command then:
>
> C:\cvs2svn>cvs2svn.py --create -s mysvn\proj myrepos
>
> ...creates the following output (I've cut out the output from
> "pass 1" to
> "pass 2", but it basically lists all the files in my
> repository, such as
> "myrepos\BUILDING.TXT,v"):
>
> ----- pass 1 -----
> ...
> ----- pass 2 -----
> ----- pass 3 -----
> ----- pass 4 -----
> creating repos 'mysvn\proj'
> committing: Thu Feb 12 09:35:17 2004, over 1 seconds
> adding or changing 1.1 : 'trunk/BUILDING.TXT'
> Error: Command failed: "co -q -p1.1 "myrepos\BUILDING.TXT,v""
>
> I assumed then that maybe I should use a "file:" URL, like this:
>
> C:\cvs2svn>cvs2svn.py --create -s mysvn\proj
file:///C:/cvs2svn/myrepos
Error: 'file:///C:/cvs2svn/myrepos' does not exist.

As you can see, it didn't like it (I did clean out the "stub" SVN repository
that the Python script had created, and also removed all other files created
in the current directory by it). Should I try to setup a local "pserver",
would that help?

Or is the problem elsewhere?

Or am I just wasting my time trying this on Windows (is it not possible)?

If the answer to the last question is "yes", am I likely to be totally
stuck, given that the original repository is on a Windows filesystem, and
that this might well screw up will EOL stuff if I copy as-is onto a
Linux/Unix machine (I don't have one to hand unfortunately...)?

Thanks in advance for your help!

- Chris

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 12 15:31:47 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.