| <!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=utf-8"> |
| <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 > Change ASCII/Binary Property</b>. The Set Keyword Substitution Mode |
| wizard will open.</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> |
| <h3 class="related">Related concepts</h3><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> |
| <h3 class="related">Related tasks</h3><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> |
| <h3 class="related">Related reference</h3><a href="../reference/ref-47.htm">CVS</a><br> |
| <a href="../reference/ref-20-fileContent.htm">File Content</a> |
| </body> |
| </html> |