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

Re: Importing multiple revisions

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-04-16 13:21:19 CEST

Ray Johnson wrote:
> However, I'm not sure of the best way to do second (and subsequent)
> "imports". Does anyone have any ideas how this can be done?
>
> The obvious solution is to get a working directory of my trunk, make the
> working copy look like the second release and do a commit.
> Unfortunately, this is a bit more complicated then I first envisioned.
> I can't just do a file sync - because for added/deleted files I actually
> need to do svn commands. We are talking thousands of files here. (Over
> 1700 directories.) So I'm really hoping I can find a better solution.

You could try this svn_load_dirs.pl:

        http://svnbook.red-bean.com/svnbook/ch07s04.html#svn-ch-7-sect-4.2

which will make it much easier to do the second and subsequent imports. This
script will present a list of files that have been added and deleted and allow
you to connect the dots (manage the renames).

Even if you have thousands of files, it's something you only have to do once,
and then you'll have your history.

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 16 13:21:36 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.