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

RE: Re: checkout

From: Gale, David <David.Gale_at_Hypertherm.com>
Date: 2006-05-08 16:18:45 CEST

Hector Alvarez Pol wrote:
> Duncan Murdoch wrote:
>
>> On 5/8/2006 9:20 AM, Hector Alvarez Pol wrote:
>>
>>> As explained in the previous mail, I cannot create in a remote
>>> computer a directory structure like:
>>> simsDir/
>>> |-> mySim1/
>>> |-> mySim2/
>>> cause the checkout of the second project is forbidden.
>>> This is solved if I could checkout the trunk directory inside the
>>> respositories...
>>
>> Sorry for coming in late, you may already have explained this, but
>> why not make simsDir a regular (non-versioned) directory, and check
>> out mySim1 and mySim2 into it?
>
> If I create a regular directory simsDir and I try to checkout both
> projects in this directory I will get:
> svn checkout http://mysite:/mySim1/ .
> A mySim1
> A mySim1/trunk
> A ActarSim/trunk/file1
> ...
> svn checkout http://mysite:/mySim2/ .
> svn: '.' is already a working copy for a different URL
> So, as you mention, I cannot checkout two different things to the
> identical location.

Out of curiosity, what's the result of the following?
svn ls http://mysite:/mySim1/

Secondly, the two checkouts you list will not work, because they're both
trying to checkout into the same location (as you note). If you want to
check them both out, you need to specify something other than . as the
destination.

> Locally I can create the simsDir/ and inside the regular
> (non-versioned) mySim1/ and mySim2/ directories. Then, using
>
> cd mySim1/; svn checkout file:////scratch/hapol/svnroot/trunk .
> cd ../mySim2/; svn checkout file:////scratch/hapol/svnroot2/trunk .
>
> everything works and I have the required directory structure.

This should be equivalent to:
mkdir simsDir; cd simsDir
svn checkout file:////scratch/hapol/svnroot/trunk mySim1
svn checkout file:////scratch/hapol/svnroot2/trunk mySim2

Does that work? If so, then the problem's in the http access (which I
suspect), rather than the checkout itself.

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 8 16:19:48 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.