Subversion Tutorial
Subversion Tutorial
The Repository
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
Problem of File-Sharing
Lock-Modify-Unlock Solution
Copy-Modify-Merge Solution
Subversion
Subversion
http://subversion.tigris.org/ http://svnbook.red-bean.com/
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 andSubversion
Subversion
Subversion Repository Subversion library Internet/Intranet (any TCP/IP Network)Repository
Repository
Access Mode
SVN CLIEN
SVN Client : TortoiseSVN
SVN Client : TortoiseSVN
http://tortoisesvn.sourceforge.net/ TortoiseSVN is a free open-source client for the
Subversion version control system.
Extension for the Windows Explorer.
Icons overlay shows all versioned / modified
files.
All Subversion commands available from the
explorer context menu.
available via a simple right click. TortoiseSVN requires the administrative rights
on your computer to be installed.
TortoiseSVN is a free open-source client for the
Subversion version control system.
Extension for the Windows Explorer.
Icons overlay shows all versioned / modified
files.
All Subversion commands available from the
explorer context menu.
available via a simple right click. TortoiseSVN requires the administrative rights
Explorer showing icon overlays
Create a new SVN
Create a new SVN
folder using repo-browser(1/2)
folder using repo-browser(1/2)
1)
Choose a folder.
2)
Right click on the folder. (see as fig. below) Then enter the
Create a new SVN
Create a new SVN
folder using repo-browser (2/2)
folder using repo-browser (2/2)
Create a local checkout folder.(1/2)
Create a local checkout folder.(1/2)
1)
Create a new folder.
2)
Right click on the folder. Choose “SVN Checkout”
3)URL of the repository:
Create a local checkout folder.(2/2)
TortoiseSVN:
TortoiseSVN:
Commit(1/2)
Commit(1/2)
At local checkout folder…
Auto-completion
TortoiseSVN:
TortoiseSVN: Update
TortoiseSVN: Update
Case 1: your SVN files needed to be updated.
TortoiseSVN:
TortoiseSVN:
Conflicted(1/3)
Conflicted(1/3)
TortoiseSVN:
TortoiseSVN:
Conflicted(2/3)
Conflicted(2/3)
At this moment, whatever you do…
Update.
TortoiseSVN:
Netbeans SVN
Netbeans SVN
URL of server that hosts svn
Netbeans SVN
Netbeans SVN
Directory on server Side to check out (blank for whole Repository)