Subversion » History » Version 7
Sargis Dallakyan, 02/22/2013 10:41 AM
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 | 7 | Sargis Dallakyan | To commit changes back use: |
16 | <pre> |
||
17 | svn commit --username [type-user-name-here] |
||
18 | </pre> |
||
19 | The option --username is needed when remote username differs from local. |
||
20 | |||
21 | |||
22 | 1 | Amber Herold | h3. How to create a new branch in svn |
23 | |||
24 | "Information on branching.":http://svnbook.red-bean.com/en/1.1/ch04s02.html#svn-ch-4-sect-2.1 |
||
25 | |||
26 | 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. |
27 | 1 | Amber Herold | The version number is stored in the database at installation time. |
28 | |
||
29 | # Create a new branch: |
||
30 | <pre> |
||
31 | $ 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" |
||
32 | |||
33 | Committed revision 14869. |
||
34 | |||
35 | </pre> |
||
36 | |
||
37 | 7 | Sargis Dallakyan | # If this is a release branch, ask Sargis to make sure only a couple of people are allowed to check in changes to this branch. |