Working with Subversion Project - BunksAllowed

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

Community

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.


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.


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.


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


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.


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



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.



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


And finally, finish the task.


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!

No comments:

Post a Comment

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