Murli Varadachari wrote:
> I had a similar issue to what you describe -- in that we have a single large
> CVS repository ( about 40GB) consisting of about 35 projects. A straight run
> through cvs2svn of the entire repository resulted in a structure that had
> trunk/, tag/ and branches/ at the top level which wasn't exactly what I was
> looking for.
> So instead I used cvs2svn to get a dump of individual projects ( after
> having copied the needed CVS components that represent the project to a temp
> area). Subsequently I loaded each project dump file into its own project
> > -----Original Message-----
> > From: Nikki Locke [mailto:email@example.com]
> > I ran the database through cvs2svn, and it imported cleanly. However, now
> > I'm starting to understand the way SVN and cvs2svn organises branches and
> > tags, I would like to separate the projects out.
> > I read the book (well, at least the first half), and figured I needed to
> > do svnadmin dump followed by some svndumpfilters. But I am having serious
> > trouble with svndumpfilter.
> > I assume (from experiment) that I can't do something like
> > svndumpfilter '*/project1'
> > So I made myself a list of all the Node-path: lines in the dump file, then
> > pruned the list to just include the top-level nodes I wanted - e.g.
> > branches/branch1/project1
> > branches/branch2/project1
> > trunk/project1
> > The file contained about 100 wanted nodes (lots of branches and tags I
> > wanted to keep).
> > I then ran
> > svndumpfilter --drop-empty-revs --renumber-revs include `cat list`
> > on the dump file, but the resultant file contained almost no nodes.
> > So I approached it from the other direction, and made a list of all the
> > nodes I wanted to delete, and ran
> > svndumpfilter --drop-empty-revs --renumber-revs exclude `cat list`
> > Again, the resultant file did not contain all the nodes I wanted.
> > Have I found a bug, or do I just misunderstand how it is supposed to work?
Thanks for the advice - I have scrapped my original svn repository, and created
separate ones for each major project, importing one at a time in from CVS. That
However, I still have a nagging doubt over svndumpfilter - either I
misunderstand what it is supposed to do, or it is seriously broken.
If I have a dump, and I ask svndumpfilter to delete some nodes (and no other
nodes depend on the ones to be deleted), why does it delete lots of other
stuff, leaving almost nothing left?
If, instead, I ask svndumpfilter to only include certain nodes, why doesn't it
include all the nodes I asked for?
I'm hoping someone will say "you misunderstand how it is supposed to work".
Otherwise I will have to take some time off to reproduce the problem with a
simple repository, so I can submit a bug.
Nikki Locke, Trumphurst Ltd. PC & Unix consultancy & programming
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Fri Oct 13 22:20:55 2006