[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 21:43:35 CEST

On Oct 23, 2007, at 14:26, Mick Ken wrote:

> On 10/23/07, Ryan Schmidt wrote:
>
>> 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.
>
> Thanks for that great info. Yeah, like I said originally i can see the
> repository contents using the Tortoise SVN client or by checking the
> contents out.
>
> Might be,I created the trunk directory by default.I guess, I should
> delete it then.
>
> I did not choose the "Berkely DB" option while installing and went
> with the default "File System FCFS" option...so where does SVN stores
> these files ???I even tried viewing the hidden files but its not
> there.
>
> Would be nice if someone can tell that.

BerkeleyDB is one database format a Subversion repository can use.
FSFS is the other (now default) database format. In an FSFS
repository, the data for each revision is stored in the db directory,
in the revs and revprops directories, one file per revision. But you
don't really need to know that. All you need to know is that the
repository stores your data, and you can access it using a Subversion
client.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 23 21:46:24 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.