/[MITgcm]/mitgcm.org/usingcvstoget.html
ViewVC logotype

Diff of /mitgcm.org/usingcvstoget.html

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

revision 1.3 by adcroft, Thu Sep 20 16:51:55 2001 UTC revision 1.5 by adcroft, Fri Oct 12 17:51:45 2001 UTC
# Line 8  Line 8 
8    
9  <center>  <center>
10  <h1>  <h1>
11  Obtaining MITgcmUV source using CVS</h1></center>  Obtaining MITgcm source using CVS</h1></center>
12    
13  <h2>  <h2>
14  Environment</h2>  Environment</h2>
# Line 23  in you .cshrc or .tcshrc. Line 23  in you .cshrc or .tcshrc.
23  To obtain the latest source (with CVS information)</h2>  To obtain the latest source (with CVS information)</h2>
24    
25  <blockquote>  <blockquote>
26  <pre>cvs co -d <i>directory</i> -P models/MITgcmUV</pre>  <pre>cvs co -d <i>directory</i> -P MITgcm</pre>
27  </blockquote>  </blockquote>
28  This creates a directory called <i>directory</i>. If <i>directory</i> already  This creates a directory called <i>directory</i>. If <i>directory</i> already
29  exists this command updates your code based on the repository (see "Getting  exists this command updates your code based on the repository (see "Getting
# Line 35  edit the files in CVS</i>. Line 35  edit the files in CVS</i>.
35  notion of checkpoints to indicate the evolution of the code. To specify  notion of checkpoints to indicate the evolution of the code. To specify
36  which "tag" you require use the -r option:  which "tag" you require use the -r option:
37  <blockquote>  <blockquote>
38  <pre>cvs co -d <i>directory</i> -P -r checkpoint40 models/MITgcmUV</pre>  <pre>cvs co -d <i>directory</i> -P -r release1_beta1 MITgcm</pre>
39  </blockquote>  </blockquote>
40    
41  <h2>  <h2>
# Line 80  To update just a specific file or Line 80  To update just a specific file or
80  You can also update to a specific version, just as you could check out  You can also update to a specific version, just as you could check out
81  a specific version.  a specific version.
82  <blockquote>  <blockquote>
83  <pre>cvs update -d -P -r checkpoint40</pre>  <pre>cvs update -d -P -r release1_beta1</pre>
84  </blockquote>  </blockquote>
85  If you checked out a specific version and want to update to the very latest  If you checked out a specific version and want to update to the very latest
86  use the -A option will remove associated with a specific version as follows:  use the -A option will remove associated with a specific version as follows:

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.22