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

Re: Load dumped repos into a certain URL

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-03-03 18:09:54 CET

On Mar 3, 2005, at 10:46 AM, Ronny T. Lampert wrote:

>> you would like to take the existing repos, dump it and load it into
>> an URL
>> ( file:///repos/trunk/proj ), not into the plain repos resembling the
>> same structure again, so it later looks like:
> > [...]
>> Is there ANY possibility do the above described? I found nothing when
>> searching around.
>
> Please kill me.
> svnadmin load --parent-dir /trunk/proj works fine. How could I
> overlook that option.
>

There's also nothing wrong with 'svn mv'. It *does* preserve history.
Just checkout a working copy of the root-directory of the repository.
Then 'svn mv' each item into the trunk/proj/ directory, and 'svn
commit'. The history is preserved. When you run 'svn log' on anything
within trunk/proj/, you'll see the old history.

> The question, however, still remains why URL loads are not supported,
> because then it would be immediately clear how to do it!

Because dumping and loading are considered rare things done by
administrators. It's a way of migrating data to a new database schema,
or a new database back-end, or a way of making a large backup into a
neutral-data format.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 3 18:14:47 2005

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