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

Re: Unable to view the files in the repository

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-23 20:46:59 CEST

On Oct 23, 2007, at 11:34, Mick Ken wrote:

> I have installed the SVN on Windows server and setup the repositories
> and commited my code but for some reason I am not able to see the
> code. But strangely, when I connect from client using Tortoize SVN I
> am able to see all the code. So, my question is - where's my code? Is
> there any default location?
>
> These are the steps i performed after installing SVN:
>
> 1. I created a directory "D:/SVN/Project1" and created a repository
> there using "Tortoise SVN".
> 2. When I installed SVN service, I gave the command "-r D:/SVN" so now
> to connect to my repository i just need to do
> "svn://localhost/Project1"
> 3. I connected to the repository and created three more folder
> "branch, tags and truck"
> 4. I connected to the trunk directory and did "SVN commit" using
> "Tortoise SVN"
> 5. Then I did checkout to create a working directory in "C:/SVN/
> Repo1".
> 6. Now,the problem is all the code is there in the working directory
> but when I check the repository there is a empty trunk folder.
>
> But, if i connect to the svn box using "svn://ip/Project1" ,it shows
> me all the files.
>
> So, can someone please tell me what's happening and why i am not able
> to see the files in the repository.

The files are in the repository. The repository is a database. To see
the files in the repository, use a Subversion client, such as the
command line client or TortoiseSVN. Either use commands like "svn ls
svn://localhost/Project1" (or the TortoiseSVN repository browser) to
see what files are in the repository, or get a working copy if you
want to see their contents or manipulate them.

Looking in the directory D:\SVN\Project1 on the hard disk, you should
not see a directory "trunk". (How did it get there? What is inside
it?) Instead, you should see the structure of the database -- that
is, these 7 items:

README.txt
conf
dav
db
format
hooks
locks

The file README.txt explains a little bit.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 23 20:49:45 2007

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.