Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.


920 Aufrufe

Veröffentlicht am

I have a compiled a How-To guide for using Subversion. As a developer using subversion was a day in and day out task for me which made me to present it here.

Use my slide as a reference for using SVN features.

Veröffentlicht in: Software
  • Loggen Sie sich ein, um Kommentare anzuzeigen.


  1. 1. Subversion Control System
  2. 2. Subversion What we are going to see !.. Commit Changes Fix MistakesReview Changes Checkout & Update • Problem with file sharing • Repository • SVN Methodologies • Import
  3. 3. Subversion manages any collection of files, directories and changes made to them over time. Subversion can operate across network It is an open source version control system (VCS) What is Subversion?...
  4. 4. Problems With File Sharing…
  5. 5. SVN Methodologies1 Lock Modify Unlock Copy Modify Merge • User can read a file • User acquires lock for the file making it inaccessible to others • User begins his modification • User can write the file • User releases the lock on the file • Many users can access the server and copy files to their private machine • Users work on their modification • Users should update their file to mirror others changes • Users can save their file to the server
  6. 6. Default Method for SVN
  7. 7. 2 Repository… What? How? Location where all the project contents are stored Right Click TortoiseSVN Select “Create Repository Here” 1 2
  8. 8. 3 Cont… Repository Created!.. 4
  9. 9. 3 Import… What? How? Adding your project into the repository 1 Right Click TortoiseSVN Import
  10. 10. Cont… 4 Enter Log Messages in Import Dialog Box Click “Ok” 3
  11. 11. 4 Checkout… What? How? Extracting data from the repository Right Click SVN Checkout 1 Private Copy in your machine Checkout Working Copy
  12. 12. 2 Cont… Select From To Checkout Depth & Revision Click “Ok”
  13. 13. 5 Update… What? How? Incorporating others changes in your WC 1 2 Right Click SVN Update Working Copy Updated!..
  14. 14. Sparse Update… “Only this item” Checkout depth other than Fully Recursive Cont…
  15. 15. “Update to Revision” To bring your WC from inconsistent state use Update to Revision Cont…
  16. 16. 6 Perform Changes (Locking)… What? How? Seen in Lock-Modify-Unlock Right Click Tortoise SVN  Get Lock 1
  17. 17. Cont… 3 Enter Log Messages for getting locks for files Click “Ok” 2
  18. 18. 4 5 Check for Modification displaying lock status Cont…
  19. 19. 7 Review Changes… What? SVN offers tools to work with Helps users to view changes happening in the repository Tools Repo Browser Review Log Tortoise Merge
  20. 20. Repo-Browser… SVN File Explorer Cont…
  21. 21. Revision-Log… Most used tool in SVN View all the change history Show Log Cont…
  22. 22. Tortoise-Merge… (Default) Application for viewing file Differences Cont…
  23. 23. 8 Fix Mistakes… What? Conflicts in SVN File Conflict Tree Conflict Two or more person modified the same file Change in tree structure by Renaming/moving/deleting a folder
  24. 24. To Resolve… File Conflict Folder Conflict Check for Modification Developers should communicate with each other and resolve the conflict Cont…
  25. 25. To Resolve… Blame Differences Used to find out who changed which content in a file Cont…
  26. 26. 9 Commit Changes… What? Publishing your changes to the repository How? 1 Right Click SVN Commit Before Committing Update your WC to incorporate other’s changes Use Change for modification to check for any conflicts
  27. 27. 2 3 Enter Commit Message Click “Ok” Cont…
  28. 28. Thanks Sriee Gowthem Raaj