Creating a Subversion Repository
Overview
¶
Given a folder structure on your local machine that contains source code files, this article walks through how to place them under Subversion source code control using the TortoiseSVN client.
Walk-Through
¶
Right click the root folder, and in the context menu navigate to
TortoiseSVN
>
Import
. Note that the folder you right-click on will NOT be imported into the SVN repository — only its contents.
In the
Import
dialog, specify the URL of the
trunk
of the SVN repository
Right-click on the same folder as above and select
SVN Checkout...
from the context menu.
In the
Checkout
dialog, for the
URL of Repository
specify the
trunk
, and for the
Checkout Directory
specify the same folder you right-clicked.
When notified that the target folder is not empty, and asked if you want to checkout/export into that folder, response Yes.
Set every
bin
and
obj
folder to be ignored via the
TortoiseSVN
>
Delete and add to ignore list
context menu.
NOTE: This step is possible only after your system recognizes each folder as being under SVN control, as evidenced by the green-and-white checkmark on the folder icon.