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

Re: how to fix my repo?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2007-03-12 22:27:47 CET

On 3/12/2007 5:10 PM, John David Duncan wrote:
> Hi,
> When I first started using subversion, I was not clear about the
> concept of the "repository."
> I should have created two repositories -- one for project1 and
> another for project2. But instead, I have a single repository, and
> project1 and project2 exist inside it as top-level branches.
> This all happened a little over a year ago, so I've been working like
> this for a few hundred revisions.
> Is there a way for me to clean this up? I'd be glad to dump,
> restore, or do whatever it takes to get to a normal configuration.

You can dump, filter and load to get the subset corresponding to one
project, then filter again and load again to get the subset
corresponding to the other project. See svndumpfilter. However, some
things might break: do you have any externals pointing into the current
repository? They'll need to be updated when it goes away. Do you have
comments referring to specific revision numbers? Make sure you retain
the old numbers when you filter and reload.

Duncan Murdoch

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 12 22:28:35 2007

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.