How the Context Menu and Icons look like in SVN

Here is a clear picture of ‘How the Context menu look like in SVN’ where we can see all the major commands usable for working with SVN. Also you will be able to see various ‘Icon overlays’ in further working of SVN as per icons image down below about which we will discuss in our coming lessons. Two icons for add file and versioned file with green tick already discussed in previous lessons.

How to add new files in working folder<< Already gone through this page >> How to create repository using command prompt and sparse checkout

1.Context Menu

2.Icon Overlays

 
How to add new files in working folder<< Already gone through this page >> How to create repository using command prompt and sparse checkout

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

How to add new files in working folder and check logs

There always been changes in projects where we add new files to our project. So now we learn ‘How to add new files in working folder’ and ‘How to check Logs in SVN’ as per below steps.

How the working copy functions<< Already gone through this page >>How the Context menu and Icons look like in SVN
 
Step 1. Now we add new files to it. For example create a new file inside the ‘svn_repos’ folder as ‘file2’, right click on it drag to TortoiseSVN and click on ‘Add’ by dragging to it. New file appear as below screen shot. It shows that this file is not committed. So right click on the same file and click on SVNcommit and down below screen will appear.


 
Step 2. Now after pressing OK FILE2 will appear as below.

How to check the SVN Logs
 
Step 3. To see modified versions and added files right click on ‘svn_repos’ drag to ‘TortoiseSVN’ and then to ‘show log’, just click on it. A window as below will appear. Red marks shows the modified files and blue mark shows the added files.

Step 4. When the file is not commit we can undo the file addition by right click on
file ->TortoiseSVN->Revert.

 
How the working copy functions<< Already gone through this page >>How the Context menu and Icons look like in SVN

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

How the working copy functions (SVN Commit)

When working copy is ready we must understand how to work on it so that we get information about every modification. To learn it we go through ‘How the working copy functions’ as per below steps.

How to create working copy<< Already gone through this page >>How to add files in working folder
 
Step 1. Now make changes or write something new in green ticked file1 and save it, you will see a red mark on your file like below screen shot. It shows that changes have been made in the file but not saved in repository. While mark is red a ‘Diff’ option is available by right click on file1, click on TortoiseSVN and drag to Diff. You will able to see the change before and after as per another window below.


 
Step 2. So now right click on file1 and click on ‘SVN Commit’a window will appear as below. Press OK, new window will be shown as ‘Commit Finished’ as per screen shot down below with revision number.


 
How to create working copy<< Already gone through this page >>How to add files in working folder

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

How to create Working copy through Checkout command

Now we need a working file to work upon which must maintain previous changes and new changes in it. To know about that we start with ‘How to create working copy through checkout command’.

How to create repository<< Already gone through this page >>How working copy functions
 
Step 1. Now we checkout the folder to make a working copy. Right click on ‘Project’ folder and click on ‘SVN Checkout’. A window will display as below, click OK another window will display as down below which shows checkout finished and again press OK.

 
Step 2. A folder with a green colour tick created inside project folder as below screen shot and inside that folder you will see files as below other screen shot. Now green ticked ‘File1’ is your working copy.


 
How to create repository<< Already gone through this page >>How working copy functions

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

How to create Repository and Import the project folder

After installation we need a database where we can store our previous version and new version of file. In SVN, a Repository folder acts as a database so now we learn ‘How to create Repository’ plus we will ‘Import the project folder’ which we want to share on network.

Installing the SVN software<< Already gone through this page >>How to create working copy through Checkout command

Step 1.When you have installed Tortoise SVN software in PC, create a folder for example named as ‘svn_repos’. Right click on that folder click on ‘TortoiseSVN’, drag to ‘Create repository here’ and click on it as below.

 
Step 2. After clicking on ‘create repository here’ a dialog box will be displayed as below. Now click on ‘Create folder structure’ and press OK. Another box will be displayed, press OK again. Folder icon will change as below.
Folder icon changed.

Importing the project folder
 
Step 3. Now we import a project or work in repository. For example create a folder named as ‘Project’, inside this folder create a notepad file ‘File1’ and write something in it. Right click on folder now, select ‘TortoiseSVN’-> ‘Import’ and you will see a dialog box as below. Enter the correct address of repository folder and press ok.

 
Installing the SVN software<< Already gone through this page >>How to create working copy through Checkout command

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.

How to install SVN on your computer

When a file is shared on network it might be difficult for administrator to maintain previous and newly added data on file. This problem is solved by Subversion (SVN) sytem. To know more we start with ‘How to install SVN on your computer’ as per below steps.
 
Already gone through this page >>How to Create repository in SVN
 
Step 1. Download the TortoiseSVN setup from https://tortoisesvn.net/downloads.html. There are 32 bit and 64 bit setups are available, choose according to your operating system. When the download is complete the setup file will look like as per screen shot below. Double click on it a new screen will be displayed and click on ‘Run’.

 
Step 2. When ‘Run’ is clicked a new screen will appear where you have to click on ‘Next’. On other screen again click ‘Next’.


 
Step 3. When screen as below appears click ‘Next’.

 
Step 4. Click ‘Install’ to start the installation process as per below screen shot.

 
Step 5. Now your setup is complete you can click ‘Finish’ now.

 
Already gone through this page >> How to Create repository in SVN

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.