Version Control With Subversion
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Version Control With Subversion

on

  • 5,444 views

 

Statistics

Views

Total Views
5,444
Views on SlideShare
5,422
Embed Views
22

Actions

Likes
2
Downloads
223
Comments
0

1 Embed 22

http://www.slideshare.net 22

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Version Control With Subversion Presentation Transcript

  • 1. Version Control with Subversion
    SamanngChhun
    samnang.chhun@gmail.com
  • 2. About Me
    Blog (http://tech.wowkhmer.com)
    Yoolk Inc. (http://www.yoolk.com)
    Rails Developer
    .NET Developer
  • 3. About this presentation
    Concepts of Version Control
    Subversion
    Daily Use Guide Demo
  • 4. What is Version Control?
    “Revision control (also know as version control, source control or (source) code management (SCM)) is the management of changes to documents, programs, and other information stored as computer files.” (source: Wikipedia:RevisionControl)
  • 5. No Version Cotrol
    Which version works?
    Which versions have bug/feature X?
    What’s the different between certain versions?
  • 6. David & Bob working on the same project
    No Version Control (Cont.)
    Banking System
    How to combine these two version into one working program?
    Who is responsible on keeping the latest version?
    Working on User Management
    Working on Loan Management
    David
    Bob
    The latest working version?
  • 7. Why need Version Control?
    Backup & Restore
    Synchronization
    Short-Term Undo
    Long-Term Undo
    Track Changes
    Track Owner
    Branching & Merging
  • 8. Available Tools
    CSV
    Subversion (svn)
    Microsoft Visual SourceSafe
    SVK
    Barzzar
    Mercurial (hg)
    Git
    etc…
  • 9. Subversion (SVN)
    Cross Platform / Open Source / Free.
    Central repository.
    Atomic commit.
    Availability of free client software / Plugin for most known IDEs.
    Most of Open source hosting sites support it. (e.g. codeplex, google code, and etc…)
  • 10. SVN Architecture
    3
    Check out (First Time)
    Check out (First Time)
    1
    2
    Update
    4
    Check in / Commit
    David
    Bob
    Subversion
    Repository
    Working Copy
    Working Copy
  • 11. Basic SVN Terminology
    Repository (repo): The database storing the files.
    Working Copy: Your local directory of files, where you make changes.
    Revision: What version a file is on (v1, v2, v3, etc.).
    Check out: Download a file from the repo.
    Check in: Upload a file to the repository (if it has changed). The file gets a new revision number, and people can “check out” the latest one.
  • 12. Basic SVN Terminology (Cont.)
    Update: Synchronize your files with the latest from the repository. This lets you grab the latest revisions of all files.
    Head: The latest revision in the repo.
    Changelog/History: A list of changes made to a file since it was created.
    Revert: Throw away your local changes and reload the latest version from the repository.
  • 13. Basic tools for SVN
    Client
    TortoiseSVN
    VisualSVN (commercial)
    AnkhSVN
    Server
    VisualSVN Server
  • 14. Demo
  • 15. Resources
    • A Visual Guide to Version Control.
    • 16. Source control how to.
    • 17. SVN best practice.
    • 18. 5 SVN best practices.
    • 19. OSCON: Subversion Best Practices.
    • 20. Version control with subversion.
  • Q & A
  • 21. Thank You!