[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: Luigi Paioro <luigi_at_lambrate.inaf.it>
Date: 2006-03-10 09:32:15 CET

A good solution to my question is to use svn export and svn import as
suggested Duncan. I've tried and it works fine for my purpose.

Thanks

Luigi

Ryan Schmidt wrote:
> 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 Fri Mar 10 09:34:03 2006

This is an archived mail posted to the Subversion Users mailing list.