Published on

Contains the basic stuff about Subversion, with a get started tutorial of sorts.

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide


  1. 1. Subversion Version Control<br />AshrafBaig S (08Mx05)<br />
  2. 2. About This Presentation<br /><ul><li>Concepts of version control
  3. 3. About Subversion
  4. 4. Usage Guide</li></li></ul><li>What is version control?<br />“Revision control (also know as version <br />control, source control or (source) code <br />management (SCM)) is the management <br />of changes to documents, programs, and <br />other information stored as computer <br />files.”<br />
  5. 5. No Version Control<br /><ul><li>Which version works?
  6. 6. Which versions have bug/feature X?
  7. 7. What’s the difference between versions?</li></li></ul><li>Why Version Control<br /><ul><li>Short-Term / Long-Term Undo
  8. 8. Backup & Restore
  9. 9. Synchronization
  10. 10. Track Changes
  11. 11. Track Owner
  12. 12. Branching
  13. 13. Merging</li></li></ul><li>Types of Versioning Systems<br />Centralized<br /><ul><li>Client-Server System
  14. 14. Repository stored on server</li></ul>Decentralized<br /><ul><li>Full decentralized, no server
  15. 15. Each user has a copy of the full repository</li></li></ul><li>Available Tools<br /><ul><li>CSV
  16. 16. Subversion
  17. 17. SVK
  18. 18. Bazaar
  19. 19. Mercurial
  20. 20. Git
  21. 21. Microsoft Visual SourceSafe</li></li></ul><li>Introduction to SVN<br /><ul><li>Cross Platform / Open Source / Free
  22. 22. Central repository
  23. 23. Atomic commit
  24. 24. Availability of free client software / Plugin for most known IDEs
  25. 25. Most of Open source hosting sites support it(Microsoft CodePlex, Google Code) </li></li></ul><li>Subversion Overview<br />
  26. 26. Subversion File System<br />One can view the Subversion file system as “three dimensional”. The Subversion filesystem's third dimension is revisions.<br />Each revision in a Subversion file system has its own root, which is used to access contents at that revision.<br />Files are stored as links to the most recent change; thus a Subversion repository is quite compact. The system consumes storage space proportional to the number of changes made, not to the number of revisions.<br />
  27. 27. Subversion Terminology<br /><ul><li>Repository (repo):The database storing the files
  28. 28. Working Copy: Your local directory of files, where you make changes
  29. 29. Revision: What version a file is on (v1, v2, v3, etc.)
  30. 30. Check-out: Download a file from the repo
  31. 31. 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</li></li></ul><li>Subversion Terminology<br /><ul><li>Update: Synchronize your files with the latest from the repository. This lets you grab the latest revisions of all files
  32. 32. Head: The latest revision in the repo
  33. 33. Changelog/History: A list of changes made to a file since it was created
  34. 34. Revert: Throw away your local changes and reload the latest version from the repository</li></li></ul><li>Advantages<br /><ul><li>Native support for binary files, with space-efficient binary-diff storage
  35. 35. Apache HTTP server as network server, WebDAV/DeltaV for protocol
  36. 36. File locking for unmerge-able files ("reserved checkouts")
  37. 37. Full MIME support - the MIME Type of each file can be viewed or changed
  38. 38. Commits are truly atomic operations. Interrupted commit operations do not cause repository inconsistency or corruption
  39. 39. Directories, renames, and file metadata are versioned. Entire directory trees can be moved around and/or copied very quickly, and retain full revision history</li></li></ul><li>References<br /><br /><br /><br /><br />Head First Software Development Edition 2 by Dan Pilone. 2008. O’Rielly.<br />
  40. 40. Thank You<br />Queries<br />