5

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?

theblang
  • 153
  • 1
  • 5

1 Answers1

7

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/.

Shane Madden
  • 114,520
  • 13
  • 181
  • 251
  • Thanks a lot! I was really just curious. I am using Subclipse to access the repository. – theblang Oct 31 '12 at 14:11
  • Are the file contents stored within revision files within the db/revs directory in the Subversion repo? I have found references to file names in those, but the contents, I'm not sure. I am also curious. – mikato Dec 08 '22 at 17:26