blob: 4df374a77e75c2fbda898e4a4ee855e1711ecdfd [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css">
<title>Checking out a folder into an existing project</title>
<meta name="keyword" content="team">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>Checking out a folder into an existing project</H1>
<P>To check out a folder from a CVS repository into an existing project in the
Workbench: </P>
<ol>
<li>Switch to the CVS Repository Exploring perspective or add the CVS Repositories
view to the current perspective.</li>
<li>In the CVS Repositories view, expand the repository location.</li>
<li>Expand <b>HEAD</b> and select the folder that you want to check out. If
you are looking for a folder in a particular version:
<ol type="a">
<li>Expand the <b> Versions</b> category and find the folder name that you
want to check out.</li>
<li>Expand the folder to reveal its versions.</li>
</ol>
<p>If you are looking for the latest folder in a branch:</p>
<ol type="a">
<li>Expand the <b> Branches</b> category.</li>
<li>Expand the branch that holds the folder that you want to check out.</li>
</ol>
</li>
<li> Select <strong>Check Out Into...</strong> from the pop-up menu for the
selected folder. The <em>Check Out Into</em> dialog will open.</li>
<li>In the <em>Check Out Into</em> dialog, you can provide the following information:
<ol>
<li><strong>Target folder name</strong>: The name of a local folder in which
the contents of the remote folder will be placed. <em>Note</em>: If the
local folder exists, its contents will be deleted and replaced by the
contents of the remote folder.</li>
<li><strong>Parent of target folder</strong>: The existing local folder
into which the target folder will be created.</li>
<li><strong>Checkout sub-folders</strong>s: The option to indicate whether
the sub-folders of the remote folder should be checked out as children
of the target folder.</li>
</ol>
</li>
</ol>
<p><em>Note:</em> Only folders within non-shared projects or projects shared with
the same CVS repository as the selected remote folder are valid targets for
the <em>Checkout Into</em> operation. Also, if the target project of the operation
is an unshared project, the project will be connected to the CVS repository
(i.e. the project will become a shared CVS project) but any pre-existing content
will be ignored.</p>
<p><img border="0" src="../images/ngrelc.gif" alt="Related concepts" width="159" height="27"><br>
<a href="../concepts/concepts-26.htm">Team programming with CVS</a><br>
<a href="../concepts/concepts-27c.htm">CVS Repositories</a>
</p>
<p><img border="0" src="../images/ngrelt.gif" alt="Related tasks" width="159" height="27"><br>
<a href="tasks-96.htm">Checking out a project from a CVS repository</a><br>
<a href="tasks-96a.htm">Checking out a module from a CVS repository</a><br>
<a href="tasks-92.htm">Creating a CVS repository location</a><br>
<a href="tasks-103.htm">Replacing resources in the Workbench</a><br>
<a href="tasks-110.htm">Discovering branch and version tags</a><br>
<a href="tasks-117.htm">Sharing a new project using CVS</a><br>
<a href="tasks-115.htm">Synchronizing with the repository</a>
</p>
<p><img border="0" src="../images/ngrelr.gif" alt="Related references" width="159" height="27"><br>
<a href="../reference/ref-47.htm">CVS</a><br>
<a href="../reference/ref-32.htm">CVS Repositories view</a>
</p>
<p>&nbsp;<br>
<a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright IBM Corporation and others 2000, 2003" border="0" width="324" height="14"></a>
</p>
</BODY>
</HTML>