SlideServe
Menu
Préférences
© SlideServe · v2026

Version Control with Subversion (SVN): Basic Operations and Model

rsawyer avatar
28 diapositives · 371 Views · Jan 03, 2020

Learn about Subversion (SVN) version control, basic repository, client operations, and detailed examples of SVN workflows using Eclipse Subversive plug-in. Get insights into repository structures, tagging, branching, and commit workflows. Discover essential SVN client operations and their significance.

Version Control with Subversion (SVN): Basic Operations and Model - slide 1
01 / 28Version Control with Subversion (SVN): Basic Operations and Model
1 / 17

Télécharger la présentation

Version Control with Subversion (SVN): Basic Operations and Model
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Version Control with Subversion (SVN) http://flic.kr/p/6oP7x7

  2. What are you goingto learn about today? • Subversion (SVN)! • Version control with… • Eclipse Subversive plug-in particulars http://flic.kr/p/8JpkTg

  3. Basic Version-Control Model Repository Client HEAD rev1

  4. Basic Version-Control Model Repository Client svn checkout workingcopy HEAD rev1

  5. Basic Version-Control Model Repository Client workingcopy HEAD rev1 edits/changes

  6. Basic Version-Control Model Repository Client workingcopy rev1 svn commit HEAD rev2

  7. Basic Version-Control Model Repository Client workingcopy rev1 HEAD rev2 more edits/changes

  8. Basic Version-Control Model Repository Client workingcopy rev1 svn commit rev2 HEAD rev3

  9. Basic Version-Control Model Repository Client workingcopy rev1 client can checkout old revisions if he/she wants to rev2 HEAD rev3

  10. Basic Version-Control Model Repository Client workingcopy rev1 rev2 If (this or another) client does checkout without specifying the revision, he/she will get the HEAD revision HEAD rev3

  11. Now let’s consider a more detailed example

  12. Repository rev305 Client A B C branches trunk tags MyProj

  13. Repository working copy rev305 Client A A B B C C svn checkout branches trunk tags MyProj trunk

  14. Repository working copy rev305 Client A A B B C C branches trunk tags MyProj trunk Note: User can name this folder whatever he/she wants

  15. Repository working copy rev305 Client B’ A A B C C branches trunk tags MyProj trunk User edits a file

  16. Repository working copy rev306 Client B’ B’ A A C C svn commit branches trunk tags MyProj trunk

  17. Repository working copy rev306 Client B’ B’ A A C C branches trunk tags MyProj trunk How would the user tag this revision of the trunk?

  18. Repository working copy rev307 Client svn copy B’ B’ B’ A A A C C C branches trunk trunk HW0 MyProj tags

  19. Repository working copy rev307 Client B’ B’ B’ C’ A A A C C tags HW0 trunk trunk branches MyProj User edits a file

  20. Repository working copy rev308 Client B’ B’ B’ C’ C’ A A A C svn commit MyProj HW0 trunk trunk branches tags

  21. Repository working copy rev308 Client B’ B’ B’ C’ C’ A A A C MyProj tags HW0 trunk trunk branches User can checkout/edit tagged copy if he/she wants to

  22. Repository working copy rev308 Client B’ B’ B’ C’ C’ D A A A C HW0 trunk MyProj trunk branches tags User createsa new file

  23. Repository working copy rev308 Client B’ B’ B’ C’ C’ D A A A C HW0 trunk MyProj trunk branches tags What would happen if the user were to commit?

  24. Repository working copy rev308 Client B’ B’ B’ C’ C’ D A A A C HW0 trunk MyProj trunk branches tags Nothing. User must svn add the file

  25. Repository working copy rev309 Client B’ B’ B’ C’ C’ D D A A A C svn commit MyProj tags trunk branches trunk HW0 Now the commit will do something

  26. Some basic SVN client operations • Getting started: • import • checkout • Keeping synced • commit • update • revert • Comparing w/ repos • status • diff • File management • add • remove • move • copy • Repos history/inspection • log • cat • list • Getting non-svn copy • export Your SVN client (e.g., Eclipse Subversive plug-in)exposes these and/or uses them “under the hood”

  27. Time for a demonstration withEclipse/Subversive http://flic.kr/p/5dfuqL

  28. Summary • SVN version control • Basic SVN operations http://flic.kr/p/YSY3X