Chapter 5.1 Source Code Control

It is recommended that all source files must be placed under a source code control system such as the Concurrent Version System (CVS). All directory and file in the source hierarchy must be registered and saved. Binary format files should be indicated to the source code control system.

The following details instructions when using a command line CVS client:

  • To refresh source code state which is stored in the source repository, follow these steps:

1. Go to the project source directory.

2. Execute cvs update -dP.

  • To create a new subdirectory in the source code hierarchy, register it in CVS by typing the command: cvs add {subdirname}.
  • To create a new source code file, follow these steps:

1.GO to the directory containing the source code file.

2.Register the new source code file by typing cvs add {filename}.

  • To remove a particular source code file, follow these steps:

1.Go to the directory containing the source code file.

2.Remove the file.

3.Unregister the file in CVS by typing cvs remove {filename}.

  • To save updates in the current state, follow these steps:

1.Go to the project source directory.

2.Execute cvs commit.

3.Enter a brief description of the changes/updates.


  • Currently 3.01/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
  Flag Inappropriate Content 0 comments