Changes between Initial Version and Version 1 of SubversionUsage


Ignore:
Timestamp:
Mar 21, 2009, 6:23:13 PM (15 years ago)
Author:
Gavin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SubversionUsage

    v1 v1  
     1== Subversion Usage ==
     2
     3Full subversion usage is detailed in [http://svnbook.red-bean.com/ Version Control with Subversion].
     4
     5With specific reference to:
     6
     7[[BR]]
     8
     9
     10• Developers commit all new work to the trunk. Day-to-day changes are committed to
     11
     12/trunk: new features, bugfixes, and so on.
     13
     14• The trunk is copied to a “release” branch. When the team thinks the software is ready for release (say, a 1.0 release), then /trunk might be copied to /branches/1.0.
     15
     16• Teams continue to work in parallel. One team begins rigorous testing of the release branch,
     17
     18while another team continues new work (say, for version 2.0) on /trunk. If bugs are dis-covered…
     19
     20
     21[[BR]]
     22
     23
     24Branching and Merging covered in either location, fixes are ported back and forth as necessary. At some point, however, even that process stops. The branch is “frozen” for final testing right before a release.
     25
     26• The branch is tagged and released. When testing is complete, /branches/1.0 is copied to
     27
     28/tags/1.0.0 as a reference snapshot. The tag is packaged and released to customers.
     29
     30• The branch is maintained over time. While work continues on /trunk for version 2.0, bugfixes
     31
     32continue to be ported from /trunk to /branches/1.0. When enough bugfixes have
     33
     34accumulated, the team may decide to do a 1.0.1 release: /branches/1.0 is copied to
     35
     36/tags/1.0.1, and the tag is packaged and released.
     37
     38
     39[[BR]]
     40
     41
     42Just as with branches, the only
     43
     44reason a copied directory is a “tag” is because humans have decided to treat it that way: as
     45
     46long as nobody ever commits to the directory, it forever remains a snapshot. If people start
     47
     48committing to it, it becomes a branch.
     49
     50
     51[[BR]]
     52