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

Re: question on making a new module from a subdirectory of an existing one

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-06-04 03:07:55 CEST

On Jun 3, 2005, at 4:11 PM, Adam Monsen wrote:

> Is it possible to make part of an existing module into a completely
> independent module while preserving history?
> For instance, say I have one repository: /usr/local/pim. 'pim' has the
> sub directories /usr/local/pim/calendar and /usr/local/pim/clock. Is
> there a way to create /usr/local/calendar and /usr/local/clock as new,
> independent modules (with their own global revision numbers), while
> preserving history created from when these source trees were contained
> within /usr/local/pim?

I'm not sure what you mean by "independent modules"... do you mean,
"put the projects into separate repositories"?

If so, then yes, you can 'svnadmin dump' the repository, then use
'svndumpfilter' and 'svnadmin load' to load the sub-project's
histories into independent repositories. See chapter 5 in the book.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 4 03:13:00 2005

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.