head	1.3;
access;
symbols
	TIGRIS_1_1_0RC2:1.1
	TIGRIS_1_1_0RC1:1.1
	TIGRIS_1_1:1.1.0.4
	TIGRIS_1_0_8:1.1
	TIGRIS_1_0_8RC3:1.1
	TIGRIS_1_0_8RC2:1.1
	TIGRIS_1_0_8RC1:1.1
	TIGRIS_1_0_7:1.1
	TIGRIS_1_0_7RC3:1.1
	TIGRIS_1_0_7RC2:1.1
	TIGRIS_1_0_7RC1:1.1
	TIGRIS_1_0_6:1.1
	TIGRIS_1_0_6RC5:1.1
	TIGRIS_1_0_6RC4:1.1
	TIGRIS_1_0_6RC3:1.1
	TIGRIS_1_0_6RC2:1.1
	TIGRIS_1_0_6RC1:1.1
	TIGRIS_1_0_5:1.1
	TIGRIS_1_0_5RC6:1.1
	TIGRIS_1_0_5RC5:1.1
	TIGRIS_1_0_5RC4:1.1
	TIGRIS_1_0_5RC3:1.1
	TIGRIS_1_0_5RC2:1.1
	TIGRIS_1_0_5RC1:1.1
	TIGRIS_1_0_4:1.1
	TIGRIS_1_0_3:1.1
	TIGRIS_1_0_2:1.1
	TIGRIS_1_0_1:1.1
	TIGRIS_1_0:1.1.0.6
	TIGRIS_1_0_0:1.1
	TIGRIS_1_0_0_RC1:1.1.0.2;
locks; strict;
comment	@# @;


1.3
date	2001.06.21.07.07.40;	author jefflove;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.11.03.14.33;	author jefflove;	state Exp;
branches;
next	1.1;

1.1
date	2001.02.22.00.43.42;	author lori;	state Exp;
branches;
next	;


desc
@@


1.3
log
@html usage revision
@
text
@  <div class="docs" id="ddcvscvsglossary">
   <h2>A version control glossary</h2>

   <div class="toc">
    <h4>CVS tool documents: Index</h4>

    <ul>
     <li>
      <a href="ddCVS.html">About source code version control with CVS</a> 

      <ul>
       <li>
        <strong>You are here:</strong> A version control glossary 

        <ul>
         <li><a href="#whatis">What is version control?</a></li>

         <li><a href="#keyterms">Key terms in version control</a></li>

         <li><a href="#devcycle">The copy-modify-merge development cycle</a></li>
        </ul>
       </li>

       <li><a href="ddUsingCVS_command-line.html">Using command-line CVS to access project source files</a></li>

       <li><a href="ddCVS_cvsmanaging.html">Managing project files and directories with CVS</a></li>
      </ul>
     </li>
    </ul>

    <div class="courtesylinks">
     <p><a href="/servlets/HelpTOC">Back to main Help index</a></p>
    </div>
   </div>

   <h3><a id="whatis" name="whatis">What is version control?</a></h3>

   <p>A version control system maintains an organized set of all the versions of files that are made over time. Version control systems allow people to go back to previous revisions of individual files, and to compare any two revisions to view the changes between them. In this way, version control keeps a historically accurate and retrievable log of a file's revisions. More importantly, version control systems help several people (even in geographically disparate locations) work together on a development project over the Internet or private network by merging their changes into the same source repository.</p>

   <h3><a id="keyterms" name="keyterms">Key terms in version control</a></h3>

   <dl>
    <dt>Checking in a file or directory</dt>

    <dd>This copies your working directory back into the repository as a new version.</dd>

    <dt>Checking out files or directories</dt>

    <dd>This copies the latest revision of a file from the repository to your workspace. When you check out a directory, you check out all files and subdirectories under it.</dd>

    <dt>Committing a file or directory</dt>

    <dd>This is the same as checking in a file or directory. Often version control users will say that they have "committed a change"; this means that they made changes to their working copies of files and committed these back to the repository.</dd>

    <dt>Conflict</dt>

    <dd>When two developers make changes to their working copies of the same file and commit them to the repository, their work may conflict. When this happens, CVS will detect the conflict and require someone to resolve resolve it before committing their changes.</dd>

    <dt>Merging</dt>

    <dd>Combining multiple changes made to different working copies of the same files in the source repository. Merging is a strategy for managing conflicts by letting multiple developers work at the same time (with no locks on files), and then incorporating their work into one combined version. Merging works well when two sets of changes are made to different lines in a files and can be easily combined. When changes to a file are made on the same line or lines, conflicts occur, requiring someone to edit the file manually before the changes can be committed to the source repository successfully.</dd>

    <dt>Repository</dt>

    <dd>A shared database with the complete revision history of all files under version control.</dd>

    <dt>Resolving</dt>

    <dd>Conflicts within a file created by two developers attempting to commit conflicting changes must be addressed by manually editing the file. Someone must go through the file line by line to accept one set of changes and delete the other set. Files with conflicts cannot be committed into the source repository successfully until they are resolved.</dd>

    <dt>Revision</dt>

    <dd>A numbered draft of specific updates to individual files. Each time you edit a file and commit it back to the repository, the file's revision number increases.</dd>

    <dt>Version</dt>

    <dd>The numbering scheme used to identify <i>sets of files</i> that are tagged and named at a certain point in time.</dd>

    <dt>Workspace</dt>

    <dd>Your copies of the files you want to edit on your local hard disk or Unix user account. When you edit files in your workspace, they will become out of sync with the repository. That's progress! Then you need to get your changes back into the repository so that everyone else can see them.</dd>
   </dl>

   <h3><a id="devcycle" name="devcycle">The copy-modify-merge development cycle</a></h3>

   <p>Because CVS is a vastly powerful tool, the learning curve might seem formidable. Certainly there are plenty of books and web sites offering comprehensive CVS knowledge bases (many good sources are referenced at the bottom of this site's main CVS page). However, it is not necessary to digest an entire tome to be able to incorporate CVS into your software development practices immediately and effectively.</p>

   <p>CVS allows you to work within your own development cycle while keeping track of the project's overall development cycle:</p>

   <ol>
    <li>You begin working on a project by obtaining your own working copy of files, known as <i>checking out</i> the project repository or modules, individual groups of project source files.</li>

    <li>
     You make your contributions to the project by modifying these files and creating new files. 

     <p>This part of the cycle doesn't involve cvs directly. You modify your working copies of project files using a file editor on your local machine. You can save and compile your edited files to test how your changes affect the particular project module you are working in without affecting anyone else's work on those same project files. Nothing you do affects other project participants until you merge your changes into the project repository.</p>
    </li>

    <li>You test and tweak your latest changes in your own workspace to make sure these work without breaking or corrupting the overall project.</li>

    <li>
     Finally, you contribute back or <i>check in</i> your changes to the main or "top" body of project files, merging your work with the most recent working version known in CVS terminology as the <i>head</i>. 

     <p>Committing your changes to merge with other developers' work is the most powerful aspect of CVS, but that power also makes it the most critical aspect. It's possible to get confused and accidentally overwrite someone else's changes or your own. Your contributed changes invariably will conflict with someone else's at some point. Understanding how and when to update your working copies and how to resolve merge conflicts are two particularly critical aspects of using CVS in collaborative development projects.</p>
    </li>
   </ol>

   <p>This <i>copy-modify-merge cycle</i> is repeated throughout the life of the project by all contributing developers. CVS enables everyone to work on project files simultaneously, to stay up to date on the latest changes contributed by others, and to test how their own changes affect the overall project without interrupting other developers' cycles.</p>

   <p>If you are new to CVS, learn more at:</p>

   <ul>
    <li><a href="http://www.cvshome.org/new_users.html">CVS for New Users</a> (an article)</li>

    <li><a href="http://cvsbook.red-bean.com/cvsbook.html#An_Overview_of_CVS">An Overview of CVS</a> (from the online version of Karl Fogel's book <i>Open Source Development with CVS</i>)</li>
   </ul>

   <div class="courtesylinks">
    <p><a href="/servlets/HelpTOC">Back to main Help index</a></p>
   </div>
  </div>
 


@


1.2
log
@extensive markup rework - first pass toward house xhtmlification
@
text
@d1 2
a2 14
<!DOCTYPE html PUBLIC "-//CollabNet//DTD XHTML 1.0 Transitional//EN"
"http://collabnet.com/dtds/collabnet_transitional_10.dtd">
<html>
 <head>
  <title>A version control glossary</title>
<style type="text/css">
 div.c2 {margin-left: 2em}
 dt.c1 {font-weight: bold}
</style>
 </head>

 <body>
  <div class="docs" id="docid">
<h2>A version control glossary</h2>
d4 2
a5 1
  <p>CVS tool documents: Index</p>
d7 28
a34 3
  <div class="c2">
   <dl>
    <dt><a href="ddCVS.html">About source code version control with CVS</a></dt>
d36 1
a36 1
    <dt>You are here: A version control glossary</dt>
d38 1
a38 3
    <dd>
     <ul>
      <li><b><a href="#whatis">What is version control?</a></b></li>
d40 1
a40 1
      <li><b><a href="#keyterms">Key terms in version control</a></b></li>
d42 2
a43 3
      <li><b><a href="#devcycle">The copy-modify-merge development cycle</a></b></li>
     </ul>
    </dd>
d45 1
a45 1
    <dd><a href="ddUsingCVS_command-line.html">Using command-line CVS to access project source files</a></dd>
d47 1
a47 1
    <dd><a href="ddCVS_cvsmanaging.html">Managing project files and directories with CVS</a></dd>
d49 1
a49 10
    <dt><a href="/servlets/HelpTOC">Back to main Help index</a></dt>
   </dl>
  </div>
  
<h3><a id="whatis" name="whatis">What is version control?</a></h3>
  <p>A version control system maintains an organized set of all the versions of files that are made over time. Version control systems allow people to go back to previous revisions of individual files, and to compare any two revisions to view the changes between them. In this way, version control keeps a historically accurate and retrievable log of a file's revisions. More importantly, version control systems help several people (even in geographically disparate locations) work together on a development project over the Internet or private network by merging their changes into the same source repository.</p>
  
<h3><a id="keyterms" name="keyterms">Key terms in version control</a></h3>
  <dl>
   <dt><strong>Checking in a file or directory</strong></dt>
d51 1
a51 1
   <dd>This copies your working directory back into the repository as a new version.</dd>
d53 1
a53 1
   <dt><strong>Checking out files or directories</strong></dt>
d55 1
a55 1
   <dd>This copies the latest revision of a file from the repository to your workspace. When you check out a directory, you check out all files and subdirectories under it.</dd>
d57 1
a57 1
   <dt><strong>Committing a file or directory</strong></dt>
d59 1
a59 1
   <dd>This is the same as checking in a file or directory. Often version control users will say that they have "committed a change"; this means that they made changes to their working copies of files and committed these back to the repository.</dd>
d61 1
a61 1
   <dt><strong>Conflict</strong></dt>
d63 1
a63 1
   <dd>When two developers make changes to their working copies of the same file and commit them to the repository, their work may conflict. When this happens, CVS will detect the conflict and require someone to resolve resolve it before committing their changes.</dd>
d65 1
a65 1
   <dt><strong>Merging</strong></dt>
d67 1
a67 1
   <dd>Combining multiple changes made to different working copies of the same files in the source repository. Merging is a strategy for managing conflicts by letting multiple developers work at the same time (with no locks on files), and then incorporating their work into one combined version. Merging works well when two sets of changes are made to different lines in a files and can be easily combined. When changes to a file are made on the same line or lines, conflicts occur, requiring someone to edit the file manually before the changes can be committed to the source repository successfully.</dd>
d69 1
a69 1
   <dt><strong>Repository</strong></dt>
d71 1
a71 1
   <dd>A shared database with the complete revision history of all files under version control.</dd>
d73 1
a73 1
   <dt><strong>Resolving</strong></dt>
d75 1
a75 1
   <dd>Conflicts within a file created by two developers attempting to commit conflicting changes must be addressed by manually editing the file. Someone must go through the file line by line to accept one set of changes and delete the other set. Files with conflicts cannot be committed into the source repository successfully until they are resolved.</dd>
d77 1
a77 1
   <dt><strong>Revision</strong></dt>
d79 1
a79 1
   <dd>A numbered draft of specific updates to individual files. Each time you edit a file and commit it back to the repository, the file's revision number increases.</dd>
d81 2
a82 1
   <dt><strong>Version</strong></dt>
d84 1
a84 1
   <dd>The numbering scheme used to identify <i>sets of files</i> that are tagged and named at a certain point in time.</dd>
d86 1
a86 1
   <dt><strong>Workspace</strong></dt>
d88 1
a88 5
   <dd>Your copies of the files you want to edit on your local hard disk or Unix user account. When you edit files in your workspace, they will become out of sync with the repository. That's progress! Then you need to get your changes back into the repository so that everyone else can see them.</dd>
  </dl>
  
<h3><a id="devcycle" name="devcycle">The copy-modify-merge development cycle</a></h3>
  <p>Because CVS is a vastly powerful tool, the learning curve might seem formidable. Certainly there are plenty of books and web sites offering comprehensive CVS knowledge bases (many good sources are referenced at the bottom of this site's main CVS page). However, it is not necessary to digest an entire tome to be able to incorporate CVS into your software development practices immediately and effectively.</p>
d90 2
a91 1
  <p>CVS allows you to work within your own development cycle while keeping track of the project's overall development cycle:</p>
d93 2
a94 2
  <ol>
   <li>You begin working on a project by obtaining your own working copy of files, known as <i>checking out</i> the project repository or modules, individual groups of project source files.</li>
d96 2
a97 2
   <li>
    You make your contributions to the project by modifying these files and creating new files. 
d99 1
a99 2
    <p>This part of the cycle doesn't involve cvs directly. You modify your working copies of project files using a file editor on your local machine. You can save and compile your edited files to test how your changes affect the particular project module you are working in without affecting anyone else's work on those same project files. Nothing you do affects other project participants until you merge your changes into the project repository.</p>
   </li>
d101 2
a102 1
   <li>You test and tweak your latest changes in your own workspace to make sure these work without breaking or corrupting the overall project.</li>
d104 3
a106 2
   <li>
    Finally, you contribute back or <i>check in</i> your changes to the main or "top" body of project files, merging your work with the most recent working version known in CVS terminology as the <i>head</i>. 
d108 1
a108 3
    <p>Committing your changes to merge with other developers' work is the most powerful aspect of CVS, but that power also makes it the most critical aspect. It's possible to get confused and accidentally overwrite someone else's changes or your own. Your contributed changes invariably will conflict with someone else's at some point. Understanding how and when to update your working copies and how to resolve merge conflicts are two particularly critical aspects of using CVS in collaborative development projects.</p>
   </li>
  </ol>
d110 1
a110 1
  <p>This <i>copy-modify-merge cycle</i> is repeated throughout the life of the project by all contributing developers. CVS enables everyone to work on project files simultaneously, to stay up to date on the latest changes contributed by others, and to test how their own changes affect the overall project without interrupting other developers' cycles.</p>
d112 2
a113 1
  <p>If you are new to CVS, learn more at:</p>
d115 2
a116 4
  <p><a href="http://www.cvshome.org/new_users.html">CVS for New Users</a> (an article)<br />
   <a href="http://cvsbook.red-bean.com/cvsbook.html#An_Overview_of_CVS">An Overview of CVS</a> (from the online version of Karl Fogel's book <i>Open Source Development with CVS</i>)</p>
  
<div class="courtesylinks"><a href="/servlets/HelpTOC">Back to main Help index</a></div> 
d118 5
a122 3
 </div>
</body>
</html>
@


1.1
log
@initial file revision; replaces ddCVS_cvsprimer.html
@
text
@d1 124
a124 99
<HTML>
<HEAD>
<TITLE>A version control glossary</TITLE>
</HEAD>

<BODY>

<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" BORDER="0" WIDTH="100%">
  <TR>
    <SPAN CLASS="Header">A version control glossary</SPAN>
	  
<P>
<SPAN CLASS="PlainText"><SPAN CLASS="PlainText"><B>CVS tool documents: Index</B>
<P>
<UL>
<DL>
<DT><A HREF="ddCVS.html">About source code version control with CVS</A>
<DT><B>You are here: A version control glossary
<UL>
<LI><A HREF="#whatis">What is version control?</A>
<LI><A HREF="#keyterms">Key terms in version control</A>
<LI><A HREF="#devcycle">The copy-modify-merge development cycle</A>
</UL></B>
<DD><A HREF="ddUsingCVS_command-line.html">Using command-line CVS to access project source files</A>
<DD><A HREF="ddCVS_cvsmanaging.html">Managing project files and directories with CVS</A>
<DT><A HREF="/servlets/HelpTOC">Back to main Help index</A>
</DL>
</UL>
<P>

<HR NOSHADE SIZE=1>
<A NAME="whatis"></A><SPAN CLASS="InputHeader">What is version control?</SPAN>
<P>
A version control system maintains an organized set of all the versions of files that are made over time. Version control systems allow people to go back to previous revisions of individual files, and to compare any two revisions to view the changes between them. In this way, version control keeps a historically accurate and retrievable log of a file's revisions. More importantly, version control systems help several people (even in geographically disparate locations) work together on a development project over the Internet or private network by merging their changes into the same source repository.
<P>

<HR NOSHADE SIZE=1>
<A NAME="keyterms"></A><SPAN CLASS="InputHeader">Key terms in version control</SPAN>
     <DL>
<DT><SPAN CLASS="PlainTextBold">Checking in a file or directory</SPAN> <DD>This copies your working directory back into the repository as a new version. 
     <P>
	<DT><SPAN CLASS="PlainTextBold">Checking out files or directories</SPAN> <DD>This copies the latest revision of a file from the repository to your workspace. When you check out a directory, you check out all files and subdirectories under it. 
     <P>
 <DT><SPAN CLASS="PlainTextBold">Committing a file or directory</SPAN> <DD>This is the same as checking in a file or directory. Often version control users will say that they have "committed a change"; this means that they made changes to their working copies of files and committed these back to the repository. 
     <P>
<DT><SPAN CLASS="PlainTextBold">Conflict</SPAN> <DD>When two developers make changes to their working copies of the same file and commit them to the repository, their work may conflict. When this happens, CVS will detect the conflict and require someone to resolve resolve it before committing their changes.
     <P>
<DT><SPAN CLASS="PlainTextBold">Merging</SPAN> <DD>Combining multiple changes made to different working copies of the same files in the source repository. Merging is a strategy for managing conflicts by letting multiple developers work at the same time (with no locks on files), and then incorporating their work into one combined version. Merging works well when two sets of changes are made to different lines in a files and can be easily combined. When changes to a file are made on the same line or lines, conflicts occur, requiring someone to edit the file manually before the changes can be committed to the source repository successfully.
	<P>

     <DT><SPAN CLASS="PlainTextBold">Repository</SPAN> <DD>A shared database with the complete revision history of all files under version control. 
     <P>
	<DT><SPAN CLASS="PlainTextBold">Resolving</SPAN> <DD>Conflicts within a file created by two developers attempting to commit conflicting changes must be addressed by manually editing the file. Someone must go through the file line by line to accept one set of changes and delete the other set. Files with conflicts cannot be committed into the source repository successfully until they are resolved.
<P> 
    <DT><SPAN CLASS="PlainTextBold">Revision</SPAN> <DD>A numbered draft of specific updates to individual files. Each time you edit a file and commit it back to the repository, the file's revision number increases.
     <P>
	<DT><SPAN CLASS="PlainTextBold">Version</SPAN> <DD>The numbering scheme used to identify <I>sets of files</I> that are tagged and named at a certain point in time.
	 <P>
	<DT><SPAN CLASS="PlainTextBold">Workspace</SPAN> <DD>Your copies of the files you want to edit on your local hard disk or Unix user account. When you edit files in your workspace, they will become out of sync with the repository. That's progress! Then you need to get your changes back into the repository so that everyone else can see them.
     <P>
  </DL>

<HR NOSHADE SIZE=1>
<A NAME="devcycle"></A><SPAN CLASS="InputHeader">The copy-modify-merge development cycle</SPAN>
<SPAN CLASS="PlainText">
<P>
Because CVS is a vastly powerful tool, the learning curve might seem formidable. Certainly there are plenty of books and web sites offering comprehensive CVS knowledge bases (many good sources are referenced at the bottom of this site's main CVS page). However, it is not necessary to digest an entire tome to be able to incorporate CVS into your software development practices immediately and effectively.
<P>
CVS allows you to work within your own development cycle while keeping track of the project's overall development cycle:
<OL>
<LI>You begin working on a project by obtaining your own working copy of files, known as <I>checking out</I> the project repository or modules, individual groups of project source files. 
<P>
<LI>You make your contributions to the project by modifying these files and creating new files.
<P>
This part of the cycle doesn't involve cvs directly. You modify your working copies of project files using a file editor on your local machine. You can save and compile your edited files to test how your changes affect the particular project module you are working in without affecting anyone else's work on those same project files. Nothing you do affects other project participants until you merge your changes into the project repository. 
<P>
<LI>You test and tweak your latest changes in your own workspace to make sure these work without breaking or corrupting the overall project.
<P>
<LI>Finally, you contribute back or <I>check in</I> your changes to the main or "top" body of project files, merging your work with the most recent working version known in CVS terminology as the <I>head</I>.
<P>
Committing your changes to merge with other developers' work is the most powerful aspect of CVS, but that power also makes it the most critical aspect. It's possible to get confused and accidentally overwrite someone else's changes or your own. Your contributed changes invariably will conflict with someone else's at some point. Understanding how and when to update your working copies and how to resolve merge conflicts are two particularly critical aspects of using CVS in collaborative development projects.
</OL>
<P>
This <I>copy-modify-merge cycle</I> is repeated throughout the life of the project by all contributing developers. CVS enables everyone to work on project files simultaneously, to stay up to date on the latest changes contributed by others, and to test how their own changes affect the overall project without interrupting other developers' cycles.
<P>
If you are new to CVS, learn more at:
<P>
<A HREF="http://www.cvshome.org/new_users.html" TARGET="_new">CVS for New Users</A> (an article)<BR>
<A HREF="http://cvsbook.red-bean.com/cvsbook.html#An_Overview_of_CVS" TARGET="_new">An Overview of CVS</A> (from the online version of Karl Fogel's book <I>Open Source Development with CVS</I>)
<P>

<HR NOSHADE SIZE=1>
<A HREF="/servlets/HelpTOC">Back to main Help index</A></P>

</SPAN>
</TR>
</TABLE>
</BODY>
</HTML>
@

