[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: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-09 18:27:51 CET

On Mar 9, 2006, at 14:53, Luigi Paioro wrote:

> 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).

I don't think "svn copy" works across repositories.

I'm not sure what you mean by a "hard copy"; the term "hard copy"
usually refers to a printout on paper.

You could "svnadmin dump" rep1 and "svndumpfilter" just the part you
wanted and "svnadmin load" it into rep2. rep2 would then be an
independent copy of what was in that directory in rep1 and their
histories would diverge from there.

Or did you mean something like a Unix hard link? There's no such
thing in Subversion, but perhaps externals would help you. You can
read about them here:

http://svnbook.red-bean.com/en/1.1/ch07s04.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 9 18:30:50 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.