/[MITgcm]/mitgcm.org/front_content/using_cvs.xml
ViewVC logotype

Diff of /mitgcm.org/front_content/using_cvs.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.14 by jmc, Wed May 11 17:45:01 2011 UTC revision 1.17 by dimitri, Sat Nov 21 16:59:15 2015 UTC
# Line 21  Line 21 
21    </head>    </head>
22    
23    <body>    <body>
24        
25      <center>      <center>
26        <h3>Obtaining the MITgcm Source using CVS</h3>        <h3>Obtaining the MITgcm Source using CVS</h3>
27      </center>      </center>
# Line 53  Line 53 
53    
54      <p>using the "-P" option to check-out ("<i>cvs co -P</i>") prevents      <p>using the "-P" option to check-out ("<i>cvs co -P</i>") prevents
55      to download unnecessary empty directories.</p>      to download unnecessary empty directories.</p>
56        
57      <p>A large amount of additional (optional!) content is available      <p>A large amount of additional (optional!) content is available
58      from the <i>MITgcm_contrib</i> directory; much of it is specific to certain      from the <i>MITgcm_contrib</i> directory; much of it is specific to certain
59      setups (eg. high-res setups, in-development material that is not yet part      setups (eg. high-res setups, in-development material that is not yet part
# Line 73  Line 73 
73        environment (that is, define it within your "~/.bashrc" or "~/.chsrc"        environment (that is, define it within your "~/.bashrc" or "~/.chsrc"
74        files).</p>        files).</p>
75    
76        <p>Also note that it is possible to checkout code without "cvs login" and
77          without setting any shell environment variables by specifying the
78          pserver name and password in one line, for example:</p>
79    
80    <pre>
81      $ cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -P MITgcm
82    </pre>
83    
84      <h4>Getting Parts of the Source "Tree"</h4>      <h4>Getting Parts of the Source "Tree"</h4>
85    
# Line 139  Line 146 
146  </pre>  </pre>
147    
148      <h4>Getting Specific Releases or "Checkpoints"</h4>      <h4>Getting Specific Releases or "Checkpoints"</h4>
149        
150      <p>As shown within the      <p>As shown within the
151        <!-- <a href="http://mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm/doc/tag-index">CVS Code Browser</a> -->        <!-- <a href="http://mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm/doc/tag-index">CVS Code Browser</a> -->
152        <a href="http://mitgcm.org/viewvc/MITgcm/MITgcm/doc/tag-index">CVS Code Browser</a>        <a href="http://mitgcm.org/viewvc/MITgcm/MITgcm/doc/tag-index">CVS Code Browser</a>
153        , the MITgcm code is continuously undergoing updates.  At        , the MITgcm code is continuously undergoing updates.  At
# Line 157  Line 164 
164  </pre>  </pre>
165    
166      <p>By default (that is, when no tag is specified), CVS will retrieve the      <p>By default (that is, when no tag is specified), CVS will retrieve the
167        latest version of all files.</p>        latest version of all files. To download an older version corresponding
168          to a specific time, e.g., May 1rst, 2008, at 5pm, one can use the "-D"
169          CVS option as follows: </p>
170    
171    <pre>
172      $ cvs co -P -D "2008-05-01 17:00" MITgcm
173    </pre>
174    
175      <h4>Show changes that YOU have made</h4>      <h4>Show changes that YOU have made</h4>
176    
# Line 227  Line 239 
239    
240      <p>"cvs update" produces output to the terminal with the following      <p>"cvs update" produces output to the terminal with the following
241        meanings:</p>        meanings:</p>
242        
243      <table align="center" border="0" cellpadding="10" width="90%" summary="CVS      <table align="center" border="0" cellpadding="10" width="90%" summary="CVS
244        update codes">        update codes">
245        <tr bgcolor="#00cccc">        <tr bgcolor="#00cccc">
# Line 270  Line 282 
282    
283      <h4>Wow! CVS is so good, where can I learn more?</h4>      <h4>Wow! CVS is so good, where can I learn more?</h4>
284    
285      <p>The <a      <p>The <a
286        href="http://web.mit.edu/afs/athena.mit.edu/project/gnu/doc/html/cvs_toc.html">basic        href="http://web.mit.edu/afs/athena.mit.edu/project/gnu/doc/html/cvs_toc.html">basic
287        manual</a> is a good reference.        manual</a> is a good reference.
288        For those who prefer the good old fashioned book there's        For those who prefer the good old fashioned book there's
289        <a href="http://cvsbook.red-bean.com/">"Open Source Development With CVS"</a>.</p>        <a href="http://cvsbook.red-bean.com/">"Open Source Development With CVS"</a>.</p>

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.22