Step-by-Step instructions for running a Subversion under Windows

written by Dariush 4 months ago

Creating a repository

I selected to put the repository in a new folder named SvnRepos the root of my C: drive, so the command I used was:

svnadmin create C:\SvnRepos

Adding your source code the first time

I keep my source code or projects under a folder called work_source. Lets import all the files and the subfolders:

svn import work_source file:///c:/SvnRepos/work -m "initial import"
work_source is folder under c: drive that contains all my other folders and files

Creating a working copy to work on

Now that your code is checked into the repository, you need to create a working copy to use in making your changes. This is done using the svn checkout command. I created my working directory at c:\work_current, so the following command was used:

svn checkout file:///c:/SvnRepos/work work_current

Post a comment

Options:

Size

Colors