blob: 14e91bba98b56ca439dcce1f4ad7a26290fdefbe [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<HEAD>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<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>Setting the CVS keyword substitution mode</title>
<meta name="keyword" content="team">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1 CLASS="Head">Setting the CVS keyword substitution mode</H1>
<P>CVS uses the keyword substitution mode of a file to differentiate binary files
from ASCII files and to indicate what type of keyword substitution is to take
place when files are committed and checked out.
</P>
<P>To set the CVS keyword substitution mode:
</P>
<ol>
<li>In one of the navigation views, select the files or containing folders for which
a change in keyword substitution mode is desired. <b>Note</b>: Ensure that
any new files that are to be committed are added to CVS version control as
the keyword substitution mode can only be set for files that are already under
CVS control.</li>
<li>From the pop-up menu, select<b> Team &gt; Change ASCII/Binary Property</b>.
The Set Keyword Substitution Mode wizard will open. The following dialog was opened
was opened on the org.eclipse.jdt.core project:
<p><img src="../images/cvs_change_ascii_binary_prop.png" alt="The Set Keyword Substitution Mode wizard" border="0" ></p>
</li>
<li>The wizard contains a list of all founds found in the selection. On this
page, you can do the following:
<ul>
<li>You can enter a file pattern to filter the list of files.</li>
<li>You can change the mode for files individually.</li>
<li>You can select multiple files and change the mode for the all using
the drop down at the bottom of the page.</li>
<li>You can select multiple files and click <strong>Propose</strong> which
determines the mode based on your preference settings.</li>
<li>You can check the <em>Only show those files that will be changed</em> option to see only the files
whose mode has been changed in the wizard.</li>
</ul>
</li>
<li>When you are done specifying the new modes for any files, enter the commit
comment to be associated with any file commits. Files will need to be committed
if changing the file type from Binary to ASCII results in a change in the
file content due to line terminator adjustments. Click <b>Finish</b> to apply
the changes.</li>
</ol>
<p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
<a href="../concepts/concepts-26.htm">Team programming with CVS</a><br>
<a href="../concepts/concepts-27b.htm">Branches</a><br>
<a href="../concepts/concepts-30.htm">Synchronizing with a CVS repository</a>
</p>
<p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
<a href="tasks-92.htm">Creating a CVS repository location</a><br>
<a href="tasks-96.htm">Checking out a project from the CVS repository</a><br>
<a href="tasks-103.htm">Replacing resources in the Workbench</a><br>
<a href="tasks-100a.htm">Branching</a><br>
<a href="tasks-115.htm">Synchronizing with the repository</a><br>
<a href="tasks-113.htm">Updating</a><br>
<a href="tasks-113b.htm">Resolving conflicts</a><br>
<a href="tasks-100b.htm">Merging from a branch</a>
</p>
<p><img border="0" src="../images/ngrelr.png" alt="Related reference" ><br>
<a href="../reference/ref-47.htm">CVS</a><br>
<a href="../reference/ref-20-fileContent.htm">File Content</a>
</p>
</BODY>
</HTML>