Create Repository in SmartSVN – Tutorial

This is a tutorial how to setup Repository in SmartSVN in 10 easy steps (well not that easy).

1. Kick off SmartSVN. Go to Project, “Set up Local Repository”.

1. SmartSVN setup local repository

2. Next screen asks for where SVN files are on your hard drive. Supply those. In my case

svndAdmin: /Applications/Xcode.app/Contents/Developer/usr/bin/svnadmin

SvnServe: /Applications/Xcode.app/Contents/Developer/usr/bin/svnserve

2. SmartSVN paths

(I am using Mac OSX Mountain Lion 10.8. In your case, it might be different. Just search for svnadmin and svnserve files using spotlight search)

 

3. The next screen asks where local repository should be created. Simply click the browse button and navigate to an empty folder where you want the repository to be created. In my case, I have supplied the following path

/Projects/test3

3. SmartSVN

4.It asks for username and password. Supply these

 

Mine is : username: myusername

password: my password (Please note, this password will be stored in un-encrypted form.)

 

5. It then ask you to import your files. Nagivate to the folder where you want to import files.

6. Next it asks you where is the repository. This is the SVN path for the repository. The default path is

svn://localhost

2. Checkout browse repository

 

7. Click New folder Icon here. Svn://localhost points to all repositories setup on you system. Simply all respositories in your system has this path no matter where (which folder) you created them.

4. SmartSVN

 

Make sure you select the checkbox “Create SVN structure”. Select the trunk folder where files will be checked in (good practice).

6. SmartSVN

8. The next screen will ask for SVN login. Make sure you provide the correct one. In my case it accepted only the login that I created the first time (when I created my first repository). If you gave a different password for each repository, the chances are, it will not accept the new password, although it does not complain when you create a new login.

 

9.Now the screen will show all your files which has not been checked in. They say unversioned next to them

7. SmartSVN

Select all the files and click Add (Add is not active above. It will become active once you select files).

10. After adding the files, you have to commit them. Select all the files and hit commit. Enter a useful comment such as “Initial Commit”.

Now you are repository is all set. Note that you may not be able to browse your repository directly in finder. Next step would be to check out your repsotiry to a working folder.

 

How to check out your repository in SmartSVN

Gallery | This entry was posted in Tutorials/Tips. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s