Subversion » History » Revision 6
Revision 5 (Amber Herold, 12/11/2012 01:40 PM) → Revision 6/7 (Amber Herold, 12/11/2012 01:41 PM)
h1. Subversion
h3. How to check out the code
To get the development trunk (where new features are added):
<pre>
svn co http://emg.nysbc.org/svn/myami/trunk myami/
</pre>
To get a release version (Bug fixes only please):
<pre>
svn co http://emg.nysbc.org/svn/myami/branches/myami-2.2 myami-2.2/
</pre>
h3. How to create a new branch in svn
"Information on branching.":http://svnbook.red-bean.com/en/1.1/ch04s02.html#svn-ch-4-sect-2.1
# Before creating an official release branch, you need to update "myamiweb/xml/projectDefaultValues.xml":http://emg.nysbc.org/projects/appion/repository/entry/trunk/myamiweb/xml/projectDefaultValues.xml which holds the version number.
The version number is stored in the database at installation time.
# Create a new branch:
<pre>
$ svn copy http://emg.nysbc.org/svn/myami/trunk http://emg.nysbc.org/svn/myami/branches/myami-2.1 -m "Creating a branch for myami 2.1"
Committed revision 14869.
</pre>
# If this is a release branch, ask Christopher to make sure only a couple of people are allowed to check in changes to this branch.