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

Migrating to new repository layout

From: <Remi_Pelletier_at_dom.com>
Date: 2003-09-09 20:34:24 CEST

What is the process of migrating an existing repository to a new layout.

From a flat structure: (doh!)

    /svn/repos/projectA

To a more useful structure such as:

    /svn/repos/root/projectA
        .../trunk
        .../branches
        .../tags

    /svn/repos/root/projectB
        .../trunk
        .../branches
        .../tags

My initial repository was not created with the proper layout, i.e. no
trunk, branches or tags directories. When I created the new directories
for trunk, branches and tags (after the fact) and try 'svn cp' to copy from
the root to the trunk I get the message cannot copy path into its own
child. This message makes sense, however attempts to do a 'svn mv' result
in the same message.

My guess is that I have to dump and reload to accomplish this, however I am
not sure about the specifics of the commands or examples of the commands
that should be used to do this correctly.

If I had the example commands that showed how I could migrate changes
(rev#s 0 to 103) to /svn/repos/root/projectA/trunk and the remaining
revisions into /svn/repos/root/projectA/branches/subsetA I'd be able to
sleep better knowing that I have the ability to do tags and have branches.

Thanks in advance

Remi Pelletier

LMS Solution Center
Dominion Resources Services, Inc.
2 SW Innsbrook Technical Center
5000 Dominion Blvd
Glen Allen, Va 23060
Direct: 804.273.3526 Fax: 804.273.2181
Tie Line: 8.730.3526 Fax: 8.730.2181
Pager: 804.273.3030 x6144

*******************************************************************
The information transmitted herewith is sensitive and intended
only for use by the individual or entity to which it is addressed.
If the reader of this message is not the intended recipient,
notification is hereby served that any review, retransmission,
dissemination, distribution, copying or other use of, or taking
of any action in reliance upon this information is strictly
prohibited. If this communication has been received in error,
please contact the sender and delete this material.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 9 20:37:09 2003

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.