Subversion Tutorial Version Control Menggunakan Tortoise SVN The
Subversion Tutorial Version Control Menggunakan Tortoise. SVN
The Repository Subversion is a centralized system for sharing information. A repository is a central store of data in the form of a file system tree — a typical hierarchy of files and directories. 2
Problem of File-Sharing 3
Lock-Modify-Unlock Solution 4
Copy-Modify-Merge Solution 5
Subversion http: //subversion. tigris. org/ http: //svnbook. red-bean. com/ q Subversion is the free/open-source version control system Manages files and directories over time. Remember every change even made to files and directories. Allows to recover older version of the code or examine the history of how your data changed. Collaborative editing and sharing of data (source code). 6
Subversion Proj your project working copy Tortoise SVN Command line Client interface Subversion library Internet/Intranet (any TCP/IP Network) http: //joolz. csie. ncku. edu. tw/svn/team_name Subversion server SPM Proj 7 project repository Subversion Repository
Access Mode Repository The SVN server of Lab. is constructed in Apache server 8
SVN CLIENT 9
SVN Client : Tortoise. SVN http: //tortoisesvn. sourceforge. net/ q Tortoise. SVN is a free open-source client for the Subversion control system. q Extension for the Windows Explorer. q Icons overlay shows all versioned / modified files. q All Subversion commands available from the explorer context menu. available via a simple right click. q 10 Tortoise. SVN requires the administrative rights on your computer to be installed.
Explorer showing icon overlays 11
Create a new SVN folder using repo-browser(1/2) 1) 2) 12 Choose a folder. Right click on the folder. (see as fig. below) Then enter the svn URL and authentication information.
Create a new SVN folder using repo-browser (2/2) 3) 4) 13 Right click on a folder in repo-browser window. Enter folder’s name and log message if necessary.
Create a local checkout folder. (1/2) 1) 2) 3) 14 Create a new folder. Right click on the folder. Choose “SVN Checkout” URL of the repository: http: //joolz. csie. ncku. edu. tw/svn/Student_Package
Create a local checkout folder. (2/2) 15
Tortoise. SVN: Commit(1/2) At local checkout folder… Autocompletion Files Checkbox 16
Tortoise. SVN: Commit(2/2) 17
Tortoise. SVN: Update Case 1: your SVN files needed to be updated. Case 2: your SVN files are up-to-date. 18
Tortoise. SVN: Conflicted(1/3) Repository: Revision 11 19 Local: Modify Revision 9
Tortoise. SVN: Conflicted(2/3) At this moment, whatever you do… Update. Commit. 20
Tortoise. SVN: Conflicted(3/3) 21
Netbeans SVN URL of server that hosts svn Your username and Password on that server
Netbeans SVN Directory on server Side to check out (blank for whole Repository) Directory to place The files on your host
- Slides: 23