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:06:48 2006