34 |
track of your changes. If CVS is not available on your machine, you can also |
track of your changes. If CVS is not available on your machine, you can also |
35 |
download a tar file. |
download a tar file. |
36 |
|
|
37 |
\subsubsection{using CVS} |
\subsubsection{Using CVS} |
38 |
|
|
39 |
Before you can use CVS, the following environment variable has to be set in |
Before you can use CVS, the following environment variable has to be set in |
40 |
your .cshrc or .tcshrc: |
your .cshrc or .tcshrc: |
43 |
% cvs login ( CVS password: cvsanon ) |
% cvs login ( CVS password: cvsanon ) |
44 |
\end{verbatim} |
\end{verbatim} |
45 |
|
|
46 |
You only need to do ``cvs login'' once. To obtain the latest source: |
You only need to do ``cvs login'' once. To obtain the source for the release: |
47 |
\begin{verbatim} |
\begin{verbatim} |
48 |
% cvs co -d directory models/MITgcmUV |
% cvs co -d directory -P -r release1 MITgcmUV |
49 |
\end{verbatim} |
\end{verbatim} |
50 |
|
|
51 |
This creates a directory called \textit{directory}. If \textit{directory} |
This creates a directory called \textit{directory}. If \textit{directory} |
53 |
directory in the source tree contains a directory \textit{CVS}. This |
directory in the source tree contains a directory \textit{CVS}. This |
54 |
information is required by CVS to keep track of your file versions with |
information is required by CVS to keep track of your file versions with |
55 |
respect to the repository. Don't edit the files in \textit{CVS}! To obtain a |
respect to the repository. Don't edit the files in \textit{CVS}! To obtain a |
56 |
specific \textit{version} that is not the latest source: |
different \textit{version} that is not the latest source: |
57 |
\begin{verbatim} |
\begin{verbatim} |
58 |
% cvs co -d directory -r version models/MITgcmUV |
% cvs co -d directory -P -r version MITgcm |
59 |
|
\end{verbatim} |
60 |
|
or the latest development version: |
61 |
|
\begin{verbatim} |
62 |
|
% cvs co -d directory -P MITgcm |
63 |
\end{verbatim} |
\end{verbatim} |
64 |
|
|
65 |
\subsubsection{other methods} |
\subsubsection{other methods} |