Pages

SVN

What is TortoiseSVN?
TortoiseSVN is a free open-source client software for the Subversion version control system. The TortoiseSVN manages files and directories over time. Files are stored in a central repository. The repository is like an ordinary file server, except that it remembers every change ever made to your files and directories. This allows you to recover older versions of your files and examine the history of how and when your data changed, and who changed it.
Download the TortoiseSVN-1.5.5.14361-win32-svn-1.5.4.msi software from this link.

Installation of the Tortoise SVN software


TortoiseSVN comes with an easy to use installer. Double click on the installer file and follow the instructions. The installer will take care of the rest.

You need Administrator privileges to install TortoiseSVN.


1. Click Next in the Tortoise SVN Setup dialog box.

2. Click I Accept the terms in the License Agreement and then Click Next.


3. Click Next in Location page of Tortoise SVN setup dialog box.


4. Click Install of Tortoise SVN setup dialog box.


5. Remove the Check mark of Show Changelog and then Click Finish.



6. Click Yes to restart Tortoise SVN setup dialog box


To Checkout


TortoiseSVN Checkout to make a fresh checkout in an empty folder. You can check out to any location on your local Hard disk

ü  Checkout the entire tree, including all child folders and sub-folders.

ü  Checkout the specified directory, including all files and child folders, but do not populate the child folders.

ü  Checkouts the specified directories, including all files but do not checkout any child folders.

ü  Checkout the directory only. Do not populate it with files or child folders.

ü  Retain the depth specified in the working copy. This option is not used in the checkout dialog, but it is the default in all other dialogs, which have a depth setting.



1. Click the Red color marked button of the Checkout dialog box


2. Which project you need choose your path and then click OK



3. Ensure that your project path which we will going to checkout and then click OK


4. Click Yes of the TortoiseSVN dialog box.


5. Downloading all the content from SVN Server to our local system





6. Click OK of the SVN Checkout dialog box.




7. You can see green color mark icon of the project checkout



8. Open the checkout folder of green icon the project


Add a file/folder to svn repository

1. Happening some changes that’s why folder is displaying Red color and creating new document.


2. Creating new sample document files


 
3. Type the file name is Sample Document


Add file to svn repository

Assuming you already have a repository, and you want to add a new folder structure to it, just follow these steps:
1. Use the repository browser to create a new project folder directly in the repository.

2. Checkout the new folder over the top of the folder you want to import. You will get a warning that the local folder is not empty. Now you have a versioned top-level folder with unversioned content.

3. Use TortoiseSVN Add... on this versioned folder to add some or all of the content. You can add and remove files, set svn:ignore properties on folders and make any other changes you need to.

4. Commit the top-level folder, and you have a new versioned tree, and a local working copy, created from your existing folder.




Posted in |

0 comments: