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

Re: Checking out to a SVN directory

From: Keven Ring <keven_at_mitre.org>
Date: 2004-09-08 16:12:10 CEST

Edward Diener wrote:

>"Lee Merrill" <LeeMerrill@bustech.com> wrote in message
>news:413E2A42.6050804@bustech.com...
>
>
>>Hi Edward,
>> I expect you probably would want to use the "svn:externals" property
>>for that, and this doesn't remove files:
>>
>>http://svnbook.red-bean.com/svnbook/ch07s03.html
>>
>>
>
>I am sorry but I have no idea what svn::externals has to do with my
>questions ? Thanks for answering anyway.
>
>
>
>>Lee
>>
>>
>>
>>>Can I check out files from a repository path which already contain files
>>>checked out from a different repository path ?
>>>
>>>Does my .svn then point to the new repostory ?
>>>
>>>Are the files from the first repository path deleted locally before the
>>>
>>>
>new
>
>
>>>checkout is done ?
>>>
>>>
>
>
>
My guess is that you are trying to do something equivelent to the following:

svn co http://somewebserver.com/svn/repo1

then, you want to the the following:

cd repo1
svn co http://somewebserver.com/svn/repo2

I could be wrong, but since SVN checks out directories (that is, both
repo1 and repo2 are directories, not files), then the above creates the
following structure:

repo1/
  .svn/
  repo2/
    .svn/

Both repo1 and repo2 have different (and unique) .svn directories.
Therefore, there is nothing to conflict, and nothing that needs to be
deleted.

The problem that you are going to run into is that running svn update in
the "repo1" directory will *not* update the files that exist in repo2.
You would need to run 2 "svn update" commands, one in the "repo1"
directory, the other in the "repo2" directory. The only way (to my
knowledge) that one could update repo1 and repo2 simultaneously is to
utilize svn:externals, effectively linking repo2 to a particular
location within repo1.

HTH.

-- 
Keven Ring               | "Oh no,  Not Again..."
The MITRE Corporation    |   Bowl of Petunias -
7515 Colshire Drive      |   The Hitchhikers Guide to the Galaxy
McLean VA 22102-7508     |
PH: (703)883-7026        |
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 8 16:12:51 2004

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.