New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
SVN Tutorial
1.
2. INTRODUCTION
Apache Subversion which is often
abbreviated as SVN, is a software
versioning and Version control
system.
Open source.
Subversion operates across networks,
which allows it to be used by people
on different computers.
3. VERSION CONTROL SYSTEM?
(VCS) is a software that helps
software developers to work
together and maintain a
complete history of their work.
SVN is a example of version
control system.
4. FEATURES
Retain full revision history.
Merge tracking – Merges between branches will be tracked.
Language bindings : C#, PHP, Python, Perl, Ruby, and Java.
5. HW / SW REQUIREMENTS
HARDWARE REQUIREMENT:
512MB RAM.
128 GB HDD.
SOFTWARE REQUIREMENT :
All modern flavors of Unix, Window, BeOS, OS/2, MacOS X.
6. SVN – LIFE CYCLE
Update.
Make Changes.
Fix Problems.
Resolve Conflicts.
Commit.
9. Implementation(Client)
Open source application – download it
http://tortoisesvn.net/downloads
After the installation a new
option appears in the menu when
you right click on a folder.
How to checkout?
Right click in the folder want to check out
Select SVN Checkout.
URL of repository:
http://svn.cs.wayne.edu/svn/csc4111w11
10. UPDATE
HOW TO UPDATE:
Right click on the file, folder or project
you want to update and choose SVN
Update
11. COMMIT
HOW TO COMMIT:
Once you have added, deleted, or
changed
Files or directories, you can then commit
those
Changes to the repository.
Right click on the file, folder or project
you
Want to update and choose SVN
Commit…
12. CONFLICTS
File conflicts: A file conflict
occurs if two (or more)
developers have changed the
same few lines of a file.
13. Tree Conflicts
A tree conflict occurs when a
developer
moved/renamed/deleted a file
or folder, which another
developer either also has
moved/renamed/deleted or just
modified
14. Rules oN using SVN
Carefully test your code before committing
Always commit only the individual files you modified, not the entire directory
When adding new files to the existing source code, always perform SVN Add and
then SVN Commit
15. LIMITAtions of svn
Locking: Subversion currently has no support for file locking, to prevent more
than one person from working on single file.
Subversion does not store the modification times of files.
Subversion stores additional copies of data on the local machine, which can
become an issue with very large projects or files,