Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have SVN set up and working properly. I can access it via http://domain/home/svn/repo/trunk and I have pulled and committed code with STS. However, if I SSH to the /home/svn/repo/trunk directory I don't see any files other than the ones made on creation of the repository. Where are my committed files stored?

share|improve this question
    
Why are you trying to access the files without going through SVN? –  John Gardeniers Oct 31 '12 at 6:23
    
I'm not. I was just curious. –  mattblang Oct 31 '12 at 14:08

1 Answer 1

up vote 5 down vote accepted

The SVN repository itself doesn't contain the files in the format that they were committed in.

Instead, the repository's storage uses either FSFS or BDB as storage - most likely for a modern repository, the FSFS format is used.

You probably shouldn't be mucking around much with the files in the repository itself; it's very easy to blow things up, and most cases where you need to work with the repository directly should be handled in the svnadmin command.

If you're just needing the contents of the repository locally on the server, use svn checkout file:///home/svn/repo/.

share|improve this answer
    
Thanks a lot! I was really just curious. I am using Subclipse to access the repository. –  mattblang Oct 31 '12 at 14:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.