source: codes/icosagcm/branches/SATURN_DYNAMICO/ICOSAGCM/tools/FCM/doc/user_guide/annex_quick_ref.html @ 225

Last change on this file since 225 was 225, checked in by ymipsl, 10 years ago
File size: 6.4 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4<head>
5  <title>FCM System User Guide Annex: Quick reference</title>
6  <meta name="author" content="FCM development team">
7  <meta name="descriptions" content="User Guide Annex">
8  <meta name="keywords" content="FCM, user guide, annex">
9  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
10  <link rel="stylesheet" type="text/css" href="style.css">
11</head>
12
13<body>
14  <script type="text/javascript">
15  <!--
16    document.write ('<address>')
17    document.write ('<a href="index.html">FCM System User Guide</a>')
18    document.write (' &gt; ')
19    document.write ('Annex: Quick reference')
20    document.write ('<\/address>')
21  //-->
22  </script>
23
24  <h1>Annex:<br>
25  Quick reference</h1>
26
27  <a name="help"></a><h2>Getting help</h2>
28
29  <table summary="help" width="100%" border="0">
30    <tr>
31      <td>fcm help</td>
32
33      <td width="70%">get list of subcommands</td>
34    </tr>
35
36    <tr>
37      <td>fcm help SUBCOMMAND</td>
38
39      <td width="70%">get help on SUBCOMMAND</td>
40    </tr>
41  </table>
42
43  <a name="maintaining-wc"></a><h2>Maintaining the working copy</h2>
44
45  <table summary="maintaining-wc" width="100%" border="0">
46    <tr>
47      <td colspan="2">fcm&nbsp;checkout&nbsp;[OPTIONS]&nbsp;URL&nbsp;[DEST]</td>
48
49      <td width="70%">Checkout URL (and create a working copy at DEST)</td>
50    </tr>
51
52    <tr>
53      <td>&nbsp;</td>
54
55      <td width="18%">-r N</td>
56
57      <td width="70%">Checkout revision N of URL</td>
58    </tr>
59
60    <tr>
61      <td colspan="2">fcm info</td>
62
63      <td width="70%">Print working copy information</td>
64    </tr>
65
66    <tr>
67      <td colspan="2">fcm status [OPTIONS]</td>
68
69      <td width="70%">Print status of working copy</td>
70    </tr>
71
72    <tr>
73      <td>&nbsp;</td>
74
75      <td width="18%">-u</td>
76
77      <td width="70%">Show update information</td>
78    </tr>
79
80    <tr>
81      <td>&nbsp;</td>
82
83      <td width="18%">-v</td>
84
85      <td width="70%">Show verbose information</td>
86    </tr>
87
88    <tr>
89      <td colspan="2">fcm update</td>
90
91      <td width="70%">Update working copy with repository changes</td>
92    </tr>
93
94    <tr>
95      <td colspan="2">fcm switch URL</td>
96
97      <td width="70%">Switch your working copy to point to a branch specified by
98      URL</td>
99    </tr>
100
101    <tr>
102      <td colspan="2">fcm commit</td>
103
104      <td width="70%">Commit local changes back into the repository</td>
105    </tr>
106  </table>
107
108  <a name="preparing-changes"></a><h2>Preparing changes</h2>
109
110  <table summary="preparing-changes" width="100%" border="0">
111    <tr>
112      <td colspan="2">fcm diff [OPTIONS]</td>
113
114      <td width="70%">Display working copy changes in unified diff format</td>
115    </tr>
116
117    <tr>
118      <td>&nbsp;</td>
119
120      <td width="18%">-b</td>
121
122      <td width="70%">Show differences relative to the base of the branch</td>
123    </tr>
124
125    <tr>
126      <td>&nbsp;</td>
127
128      <td width="18%">-g</td>
129
130      <td width="70%">Display working copy changes with xxdiff</td>
131    </tr>
132
133    <tr>
134      <td>&nbsp;</td>
135
136      <td width="18%">-r N</td>
137
138      <td width="70%">Display working copy changes against revision N</td>
139    </tr>
140
141    <tr>
142      <td colspan="2">fcm revert [OPTIONS] PATH</td>
143
144      <td width="70%">Restore the file PATH to the pristine copy</td>
145    </tr>
146
147    <tr>
148      <td>&nbsp;</td>
149
150      <td>-R</td>
151
152      <td width="70%">Descend PATH recursively, restoring any modified files to
153      the pristine copy</td>
154    </tr>
155
156    <tr>
157      <td colspan="2">fcm mkdir [PATH]</td>
158
159      <td width="70%">Add a directory PATH under revision control</td>
160    </tr>
161
162    <tr>
163      <td colspan="2">fcm add [OPTIONS] [PATH]</td>
164
165      <td width="70%">Add PATH under revision control</td>
166    </tr>
167
168    <tr>
169      <td>&nbsp;</td>
170
171      <td width="18%">-c</td>
172
173      <td width="70%">Check for items not under revision control and add
174      them</td>
175    </tr>
176
177    <tr>
178      <td colspan="2">fcm delete [OPTIONS] [PATH]</td>
179
180      <td width="70%">Remove PATH from revision control</td>
181    </tr>
182
183    <tr>
184      <td>&nbsp;</td>
185
186      <td width="18%">-c</td>
187
188      <td width="70%">Check for missing items and remove them</td>
189    </tr>
190
191    <tr>
192      <td colspan="2">fcm copy SRC DST</td>
193
194      <td width="70%">Duplicate SRC to DST, remembering history</td>
195    </tr>
196
197    <tr>
198      <td colspan="2">fcm move SRC DST</td>
199
200      <td width="70%">Move or rename SRC to DST, remembering history</td>
201    </tr>
202  </table>
203
204  <a name="browse"></a><h2>Browsing</h2>
205
206  <table summary="browse" width="100%" border="0">
207    <tr>
208      <td colspan="2">fcm&nbsp;log&nbsp;[OPTIONS]&nbsp;[TARGET]</td>
209
210      <td width="70%">Show the log message of a TARGET that can either be
211      working copy or URL</td>
212    </tr>
213
214    <tr>
215      <td>&nbsp;</td>
216
217      <td width="18%">-r N[:M]</td>
218
219      <td width="70%">Show the log message of a range of reivsions</td>
220    </tr>
221
222    <tr>
223      <td colspan="2">fcm list [OPTIONS] [TARGET]</td>
224
225      <td width="70%">List directory entries in TARGET</td>
226    </tr>
227
228    <tr>
229      <td>&nbsp;</td>
230
231      <td width="18%">-r N</td>
232
233      <td width="70%">List directory entries of revision N</td>
234    </tr>
235
236    <tr>
237      <td>&nbsp;</td>
238
239      <td width="18%">-v</td>
240
241      <td width="70%">List directory entries in verbose mode</td>
242    </tr>
243
244    <tr>
245      <td>&nbsp;</td>
246
247      <td width="18%">-R</td>
248
249      <td width="70%">List directory entries recursively down the
250      directories</td>
251    </tr>
252
253    <tr>
254      <td colspan="2">fcm trac [TARGET]</td>
255
256      <td width="70%">Open a WWW browser to browse TARGET with Trac</td>
257    </tr>
258  </table>
259
260  <a name="branch"></a><h2>Branching</h2>
261
262  <table summary="browse" width="100%" border="0">
263    <tr>
264      <td colspan="2">fcm branch [OPTIONS] [URL]</td>
265
266      <td width="70%">Show branch information of URL or local working
267      copy</td>
268    </tr>
269
270    <tr>
271      <td>&nbsp;</td>
272
273      <td width="18%">-d</td>
274
275      <td width="70%">Show branch information and delete the branch</td>
276    </tr>
277
278    <tr>
279      <td>&nbsp;</td>
280
281      <td width="18%">-c -n NAME</td>
282
283      <td width="70%">Create a branch</td>
284    </tr>
285
286    <tr>
287      <td colspan="2">fcm merge [SOURCE]</td>
288
289      <td width="70%">Merge changes from SOURCE to your working copy</td>
290    </tr>
291
292    <tr>
293      <td colspan="2">fcm conflicts</td>
294
295      <td width="70%">Use xxdiff to resolve conflicts in your working copy</td>
296    </tr>
297  </table>
298
299  <script type="text/javascript" src="maintain.js">
300  </script>
301</body>
302</html>
Note: See TracBrowser for help on using the repository browser.