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

Re: Make a copy of a project directory

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-03-09 15:14:25 CET

On 3/9/2006 8:53 AM, Luigi Paioro wrote:
> Hi to all!
> I have two repositories (rep1 and rep2). The first has a complicated
> directory structure ad I want to copy only a particular sub-directory
> into rep2, i.e.:
> rep1/prj1/trunk/src/
> to be copied into
> rep2/trunk/src
> Note that I want to have an "hard copy" of my rep1 directory, not
> something like a svn copy command result (that is a soft link).
> How can I do it?

If you just want the head revision to be checked into the other
repository, then probably svn export from rep1 and svn import to rep2
should work.

If you want to copy all the history as well, it will be a lot harder. I
imagine you'd do it by some combination of dumping, filtering, and loading.

Another possibility is that you have an svn:externals property in rep2
that refers to rep1, but that sounds different from what you're asking
for: it just gives you a working copy from rep1 within a working copy
from rep2, it doesn't actually copy any content into rep2.

Duncan Murdoch

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 9 15:36:06 2006

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.