Working with Subversion Project - BunksAllowed

BunksAllowed is an effort to facilitate Self Learning process through the provision of quality tutorials.

Community

demo-image

Working with Subversion Project

Share This



Here, we will discuss how to add a new project to the repository. You can follow the steps shown below.

We have already installed a subversion client, TortoiseSVN, in our system. Hence, you may think about how to use it?

Well, right-click on the desktop or open any directory and right-click on the blank area. You will find a few new options in the list as shown below.

svn_project_add_1

Create a new directory, where you want to keep the project-related source code and documents.

Here, we are creating a directory on Desktop by name Test.

Open the directory and right-click on the blank space and click on SVN Checkout. The following window will appear.

svn_project_add_2

Enter the URL of the repository and click on OK. A new window will appear, where you have to enter the subversion user name and password.

svn_project_add_3

After entering the credential, you will get the following result as shown below, where data will be checked out in the Test directory.

svn_project_add_4

This is the first revision.

Now you have to copy the documents into the trunk directory. After copying the project, right-click on the trunk and you will get a similar type of menu as shown below.

svn_project_add_5

Clicking on the SVN add, you will get the following window. It shows the list of files to be added to the SVN server.

svn_project_add_6

svn_project_add_7

This addition of the files will not be uploaded to the server. Now, these files are added to your local copy of the repository.

Hence, to add these files to the server, you have to commit to the trunk.

Hence, again you have to right-click on the trunk and you have to click on SVN commit.

svn_project_add_8


In the following window, you are being suggested to add a message about the commit, like what is being changed.

svn_project_add_9

And finally, finish the task.

svn_project_add_10

If you add new files to the project, you have to add the files to the local copy first using SVN Add and finally, you have to commit.

Hope this tutorial will help you to understand how servers and clients are configured and how multiple users can work on the same project simultaneously.


Happy Exploring!

Comment Using!!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.