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

Using refinecvs to convert a CVS repository with subprojects

From: Kaspar Fischer <fischerk_at_inf.ethz.ch>
Date: 2004-09-01 17:27:57 CEST

Dear everybody,

I am trying to convert an existing CVS repository into a SVN
archive. For this, I use refinecvs (version 0.76.783). My
CVS looks as follows (more or less):

   studies/
   studies/university/
   studies/university/diploma/
   studies/university/diploma/th.tex
   hobbies/
   hobbies/hobby1/
   hobbies/hobby1/summary.tex
   ...

Now I want to get something like this in SVN:

   studies/
   studies/university/
   studies/university/diploma/
   studies/university/diploma/branches/
   studies/university/diploma/trunk/
   studies/university/diploma/trunk/th.tex
   hobbies/
   hobbies/hobby1/
   hobbies/hobby1/branches/
   hobbies/hobby1/trunk/
   hobbies/hobby1/trunk/summary.tex

As you can see, it is hard for refinecvs to know
where my 'subprojects' (i.e., 'diploma' and 'hobby1')
start, and thus it cannot easily know where to create
the SVN branches/trunk/tags directories.

So my question is: How can I tell refinecvs where
my subprojects start? Unfortunately, I do not reallly
understand the accompanying README file.

If I understand correctly, then refinecvs cannot
do this. So I tried to do it manually. That is, I
dumped, using refinecvs, my subprojects to individual
SVN-dump-files, created a new SVN repositiory with
the desired directory structure and loaded (via
svnadmin load --parentdir ...) the subproject-dumps
into it.

This works fine, apart from one problem I am not
sure about: it messes up the chronology. Because
I worked at my subprojects in parallel but loaded
their dumps into the SVN repository sequentially,
the revision numbers do not reflect the chronology
anymore. I find this somewhat annoying when browsing
the repository (and am also not sure whether this
is the right way to do it). Can anybody comment
on this? Can one use the -sd/-ld options from
refinecvs to fix this (I didn't manage to do so)?

Many thanks for your help,
Kaspar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 1 17:28:35 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.