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

Re: My observations and experience with cvs2svn.py on Windows

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-02-18 17:16:49 CET

Bern McCarty wrote:

> I'm hoping to leave these ridiculous tags behind anyway. By the way, I
> don't really understand the cvs2svn.py source very well but I thought I
> could kind of see why --trunk-only didn't suppress tag creation for as it's
> usage help suggests that it will. Is anybody testing this switch lately?
> Would it be an easy fix? It seems like it would make things tons faster for
> someone in my situation - wanting to leaving 2600+ tags behind.

I know that this doesn't help you with creating the dump file (i.e. if
--trunk-only doesn't completely eliminate the tags), but you can use

        svndumpfilter exclude tags --drop-empty-revs --renumber-revs

to strip out those from the dumpfile prior to importing to a subversion
repository. Use it like this:

        cat dumpfile.before | svndumpfilter ... > dumpfile.after

and then use

        svnadmin load --parent-dir /project /path/to/repository < dumpfile.after

and it will load only the trunk/ files...

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 18 17:17:01 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.