Download presentation
Presentation is loading. Please wait.
Published byDamian Flowers Modified over 9 years ago
1
Copyright © 2015 - Curt Hill Tortoise SVN A Subversion Client
2
Copyright © 2015 - Curt Hill Introduction There are least two Tortoise Windows version control clients This presentation deals with the Subversion one –There is also a Mercurial one Both of these are shell extensions –An add in to Windows Explorer –AKA File Explorer Most actions come from a right click and menu choice on a directory
3
Getting The TortoiseSVN is free Obtain at Source Forge among others I downloaded an MSI file Double click and its installed Copyright © 2015 - Curt Hill
4
Usage Once installed it is a shell extension –An add-in to Windows explorer There will also be a start menu entry to give access to some other features Our first task is to create a repository This is done by right clicking a directory that will contain the new repository Copyright © 2015 - Curt Hill
5
Creating Copyright © 2015 - Curt Hill
6
This Happens Next Copyright © 2015 - Curt Hill
7
Resulting Directory Copyright © 2015 - Curt Hill
8
Filling the Repository What do we want in the repository? Two options –Import an existing subversion repository –Populate it with a new project Copyright © 2015 - Curt Hill
9
Import The import process is to make a source directory part of the repository This is the initial check in Recall that there are certain files that should not be checked –Anything that can be generated Subversion has a set of files that it will not check in but this may not be right –Found in preferences Copyright © 2015 - Curt Hill
10
Preferences Copyright © 2015 - Curt Hill
11
Importing a Project Clean the directory structure –Remove anything that is pointless to commit Right click on the directory to import Enter the URL of the repository Consider the following screens Copyright © 2015 - Curt Hill
12
Adding crdp directory Copyright © 2015 - Curt Hill
13
Next Copyright © 2015 - Curt Hill
14
Results Copyright © 2015 - Curt Hill
15
Now What? The repository is now tracking things However, there is nothing to track until some changes are made Changes are handled by the process: –Check out code –Modify/test –Commit (or check in) Copyright © 2015 - Curt Hill
16
Process Right click on directory you wan things stored Choose SVN Checkout Fill in the dialog box items As the following screens show, the directory is d:\temp and repository is one created earlier Copyright © 2015 - Curt Hill
17
Check Out Copyright © 2015 - Curt Hill
18
Next Copyright © 2015 - Curt Hill
19
Finished Copyright © 2015 - Curt Hill
20
Dialog Box The output directory is called the sandbox –This is where we will work on the code before check in Since fully recursive was checked, the entire directory tree is extracted There is some discrepancies in sizes and files between the original, the repository and the new Copyright © 2015 - Curt Hill
21
Files DirectoryFilesDirectoriesSize Original269443.2 Repository361011.4M Sandbox45815175.2M Copyright © 2015 - Curt Hill Subversion is still holding onto the new directory Keeping track of what will become of the files in it
22
Development Normal development now ensues Edit files Compile Test Repeat until you are happy Then put them back in Copyright © 2015 - Curt Hill
23
Changes have occurred Copyright © 2015 - Curt Hill
24
Starting Commit Copyright © 2015 - Curt Hill
25
Next Copyright © 2015 - Curt Hill
26
Commit Finished Copyright © 2015 - Curt Hill
27
File Status Every file in the sandbox has one of four possible statuses: Unchanged and current Repo and local version match Changed and current An update awaiting a commit Unchanged and out of date Repository version of this has been updated Changed and out of date Both local and repository have been independently updated Copyright © 2015 - Curt Hill
29
Finally That is the cycle Check out Change Commit You do not need to check out again –Instead several commits may be done Copyright © 2015 - Curt Hill
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.