Here is what I am trying to do. I have a project in / var / www / project. I would like to use svn for this project. I installed SVN on my debian server for this purpose, but I don’t understand how to use it, and googling confused me even more. I would like to create a repository / var / svn / project and use it. After some changes, I want to export all the code back to / var / www / project. Now here is what I did:
- I created a repository: svnadmin create / var / svn / project
- I imported the code: svn import / var / www / project file: /// var / svn / project -m "Source Import"
- I checked the code with the Versions client
Everything works fine, but ... If I go to / var / svn / project, there are no source files from my project or not in any subdirectory. Although the svn client is able to check all of these files. Therefore, I read that in svn files are not saved separately in berkley db or in fsfs file systems. The question then becomes: how do I export the source code to / var / www / project? If I execute the svn export command in the / var / svn / project directory, it says I'm not in a working copy :(
source
share