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

Re: [Fwd: Re: checkout]

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-05-08 18:13:11 CEST

I think the problem is confusion over the parsing of names in http URLs.
  The format is

repos/content

where the repos is (in your case

http://mysite.com/mySim1/

and the content is

mySim1/trunk

Notice that "mySim1" is part of the name of the repository, as well as
being a directory within it.

When you work locally, the repos changes to

file:///scratch/hapol/svnroot/

(because you called your repository "svnroot", not "mySim1"). The
content remains the same.

So notice that you need to specify
"http://mysite.com/mySim1/mySim1/trunk" to get to the same place as
"file:///scratch/hapol/svnroot/mySim1/trunk".

I hope this clears up the problem.

Duncan Murdoch

On 5/8/2006 12:05 PM, Hector Alvarez Pol wrote:
> Ryan Schmidt wrote:
>
>> John Allen's answer was correct, except for the erroneous colon after
>> the hostname. The correct commands are:
>>
>> mkdir simsDir
>> cd simsDir
>> svn checkout http://misite.com/mySim1/trunk mySim1
>> svn checkout http://misite.com/mySim2/trunk mySim2
>>
>> This assumes that you have a directory "trunk" in both the mySim
>> repository and the mySim2 repository. The error message you showed
>> above suggests that you do not... I, too, would be interested in the
>> answer to David Gale's question: What does a listing of the root of
>> your repositories actually look like?
>
> I will here try to show the output of the commands and the structure, as
> clear as possible:
>
> A) Using http on a remote site:
> 1 - full repository (all the four combinations I test seems to work)
> svn checkout http://mysite.com/mySim1/ mySim1
> A mySim1/mySim1
> A mySim1/mySim1/trunk ... OK, success
> svn checkout http://mysite.com/mySim1/ .
> A mySim1
> A mySim1/trunk ...
> OK, success
> svn checkout http://mysite.com:/mySim1/ mySim1
> A mySim1/mySim1
> A mySim1/mySim1/trunk ... OK,
> success
> svn checkout http://mysite.com:/mySim1/ .
> A mySim1
> A mySim1/trunk ...
> OK, success
> So, all succesfull, independently of the : after the site name (tags
> and branches are also included in the pack).
>
> 2 - only checking out the trunk directory
> svn checkout http://mysite.com/mySim1/trunk mySim1
> svn: REPORT request failed on '/mySim1/!svn/bc/2/trunk'
> svn: '/mySim1/!svn/bc/2/trunk' path not found
> svn checkout http://mysite.com:/mySim1/trunk mySim1
> svn: REPORT request failed on '/mySim1/!svn/bc/2/trunk'
> svn: '/mySim1/!svn/bc/2/trunk' path not found
> So, both unsuccesfull, independently of the : after the site name.
>
>
> B) As a local user (same machine as the repository):
> svn checkout file:///scratch/hapol/svnroot/mySim1/trunk mySim1
> A mySim1/file1
> ... (success,
> only the trunk; no branches and tags directories)
>
> svn checkout file:///scratch/hapol/svnroot2/mySim2/trunk mySim2
> A mySim2/file1
> ... (success,
> only the trunk; no branches and tags directories)
>
>
> C) The answer to "svn ls" is (again as a remote):
> svn ls http://mysite.com:/mySim1/
> mySim1/
> and I make the command locally
> svn ls file:///scratch/hapol/svnroot1
> mySim1/
>
> D) I have in my notes the procedure I follow to create the second
> repository...
>> pwd
> localDir/mySim2
>> mkdir trunk
>> mv ../../codeValid/* trunk/.
>> mkdir branches
>> mkdir tags
>> ls
> branches tags trunk
>> svn import . file:///scratch/hapol/svnroot2/mySim2 -m "initial import"
> Adding trunk
> Adding trunk/file1
> ...
> Adding trunk/README
> Adding branches
> Adding tags
>
> Committed revision 2.
>
>
> So, for me it is quite clear that I created the trunk (I do not know if
> something is incorrect). And is clear that locally I can checkout only
> the trunk part (no branches or tag directories). But remotely using the
> http protocol, I cannot do it. Regarding the apache condifguration, I
> stick to my first mail.
> Please, let me know if something is inconsistent in my explanation.
>
> Thank you very much for you active help :-)
>

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