forked from ESCOMP/CTSM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README_cime
62 lines (34 loc) · 1.55 KB
/
README_cime
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
For the trunk:
1.) Start at the top level directory of your sandbox
cd $clm_root
2.) Update JUST the top level directory with the externals.
svn update --depth immediates
3.) Move any local changes you have under clm
(This preserves any local changes you have in your sandbox, as well as changes on your branch)
svn mv models/lnd/clm/ components/clm
4.) Move any local changes you have under scripts to save your cases
(if you don't have cases to save under scripts, you don't have
to do this step)
svn mkdir --parents cime/scripts
mv scripts cime/scripts/
5.) Bring in updated externals and updates to clm source files
svn update
6.) Mark changes to models directory as resolved
svn resolved models
For branches:
0.) Make sure ALL your changes are checked into your branch.
1.) Checkout your branch WITHOUT externals
svn co --ignore-externals $SVN_MOD_URL/clm2/branches/<branchname>
2.) Move any changes you have under clm on your branch
svn mkdir components
svn mv models/lnd/clm/ components/clm
3.) Merge the top level
svn merge --depth immediates $SVN_MOD_URL/clm2/trunk_tags/clm4_5_1_r104 $SVN_MOD_URL/clm2/trunk_tags/clm4_5_1_r105
4.) Merge changes in the clm directory
svn merge $SVN_MOD_URL/clm2/trunk_tags/clm4_5_1_r104/models/lnd/clm $SVN_MOD_URL/clm2/trunk_tags/clm4_5_1_r105/components/clm
5.) Bring in updated externals and updates to clm source files
svn update
6.) Mark changes to models and components/clm directories as resolved
svn resolved models
svn resolved components
svn resolved components/clm