Subversion Best Practices

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + guest481150 guest481150 3 years ago
    Thank you for simplifying a complex task.

Post a comment
Embed Video
Edit your comment Cancel

13 Favorites

Subversion Best Practices - Presentation Transcript

  1. 4
  2. Imports
  3. top skimming vs cvs2svn
  4. One project at a time
  5. repo/project/ trunk/ branches/ tags/
  6. http://cvs2svn.tigris.org/ cvs2svn.html
  7. Tags and Branching
  8. Don’t be afraid
  9. TAGS Symbolic naming for groups of files
  10. Snapshot
  11. Mixed revisions
  12. Don’t commit to tags
  13. BRANCHES
  14. Repository forks
  15. Trunk Branch
  16. Contain independent changes
  17. Parallel commits
  18. Generating releases and space to experiement
  19. Trunk stays stable
  20. Each release is on a branch
  21. Release points are tagged
  22. Branch and tag when appropriate
  23. Quick example
  24. Creating a release branch
  25. svn mkdir -m ‘Created branches directory’ svn://repo/svn/project/branches
  26. svn mkdir -m ‘Created branches directory’ svn://repo/svn/project/branches svn copy -m ‘Creating release branch 1.0’ svn://repo/svn/project/trunk svn://repo/svn/project/branches/RB-1.0
  27. Checkout release branch to local working copy
  28. svn co svn://svn/rep/branches/RB-1.0 rb1.0
  29. Switch working copy
  30. svn switch svn://svn/rep/branches/RB-1.0
  31. Some time passes...
  32. Generate a release
  33. Tag correct files in correct branch Hopefully the latest release branch
  34. svn mkdir -m ‘Created tags directory’ svn://repo/svn/project/tags svn copy -m ‘Tagging release 1.0.0’ svn://repo/svn/project/branches/RB-1.0 svn://repo/svn/project/rags/REL-1.0.0
  35. Check out a tagged release
  36. svn co svn://svn/rep/tags/REL-1.0.0
  37. Merging
  38. Trunk stays stable
  39. Merge branches back to trunk
  40. Trunk Merge Branch
  41. svn update svn merge -r37:HEAD svn://svn/rep/branches/RB-1.0 svn commit -m ‘Merged r37 to r38’
  42. svn update svn merge -r37:38 svn://svn/rep/branches/RB-1.0 svn commit -m ‘Merged r37 to r38’
  43. Good for spikes
  44. Good for bug fixes
  45. Love your IDE
  46. IntelliJ IDEA Eclipse Komodo emacs vim
  47. Bonus recipe!
  48. Automated integration
  49. SVN hooks (just like CVS)
  50. Automatic actions
  51. Cruise Control
  52. Harmony
  53. Talk to SSG
  54. slideshare.net/mza

+ Matt WoodMatt Wood, 3 years ago

custom

10524 views, 13 favs, 2 embeds more stats

Some useful best practices for subversion revision more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 10524
    • 10520 on SlideShare
    • 4 from embeds
  • Comments 1
  • Favorites 13
  • Downloads 403
Most viewed embeds
  • 3 views on http://framework3x.blogspot.com
  • 1 views on http://www.agglom.com

more

All embeds
  • 3 views on http://framework3x.blogspot.com
  • 1 views on http://www.agglom.com

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories