These pages cover SQL Source Control 4, which is not the latest version. Help for other versions is also available.
Setting up a local SVN repository
Published 16 July 2015
This page describes how to set up a local Subversion (SVN) repository using TortoiseSVN, a free SVN client for Windows.
Alternatively, you can use the SVN command line interface. For more information, see the Subversion documentation.
Creating a repository
To create a local repository:
- Download and install TortoiseSVN. You might need to restart your computer after installation.
- In Windows Explorer, browse to or create an empty folder where you want to create the repository; for example, C:\SVNRepository
- Right-click the folder, and in the TortoiseSVN menu, select Create repository here:
The repository is created.
Using the repository
The URL for a local repository takes the form: file:\\\C:\<RepositoryFilePath>
Use this URL to link your database to SVN.