Project

General

Profile

Subversion » History » Version 6

Amber Herold, 12/11/2012 01:41 PM

1 1 Amber Herold
h1. Subversion
2
3 2 Amber Herold
h3. How to check out the code
4
5 3 Amber Herold
To get the development trunk (where new features are added):
6 2 Amber Herold
<pre>
7
svn co http://emg.nysbc.org/svn/myami/trunk myami/
8 3 Amber Herold
</pre>
9
10
To get a release version (Bug fixes only please):
11
<pre>
12 4 Amber Herold
svn co http://emg.nysbc.org/svn/myami/branches/myami-2.2 myami-2.2/
13 2 Amber Herold
</pre>
14
15 1 Amber Herold
h3. How to create a new branch in svn
16
17
"Information on branching.":http://svnbook.red-bean.com/en/1.1/ch04s02.html#svn-ch-4-sect-2.1
18
19 6 Amber Herold
# 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.
20 1 Amber Herold
The version number is stored in the database at installation time.
21
&nbsp;
22
# Create a new branch:
23
<pre>
24
$ 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"
25
26
Committed revision 14869.
27
28
</pre>
29
&nbsp;
30
# 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.