Performing Basic SCCS Functions with Versioning |
14 |
![]() |
Typical Sessions
This section gives an overview of the most common SCCS sessions using Versioning. It assumes that you are familiar with the SCCS. The following scenarios are covered:
Putting a Project Under SCCS Control
There may be instances where a project is under development before a source code control system is put in place. This scenario assumes a project is already under way and the hierarchy of the project is established. It is assumed that the project is ready to be put under SCCS control. The following process shows you how to do so.
demo% twversion &
demo% twversion dirname &
Note - This is representative of a hypothetical session. The steps will vary according to project needs and the tasks required to fulfill them.
To Access the Online Help
demo% twversion &
![]() | To access the manual page for information on how to use Versioning from
the CLI, enter the following. The manual page gives information on all
command-line options, variables, and macros necessary to use DMake.
|
The Commands menu allows you to do the following:
![]() | Select the file(s) you want to check out from the base window display. Then, choose Check Out from the Commands menu. |
![]() | Double click on a file icon in the base window (if set in the Options window). |
![]() | Select the file(s) you want to check in from the base window display and choose Check In from the Commands button menu. Enter the appropriate comments in the Check In pop-up window before choosing Check In. |
![]() | Double click on a checked out file icon in the base window and add the appropriate comments in the Check In window before choosing Check In (if set in the Options window). |
To check out a file and display it in a window with an editor:
![]() | Choose the Check Out & Edit menu item from the Commands menu. |
Check In New displays a window that contains a list of files. You can define the list by specifying a pattern in the filter text field.
To uncheck out a file:
![]() | Select the checked out file and choose Uncheckout from the Commands menu. |
Note - You must choose the Apply button before the property selections are activated. Use the Set Default button to save the changes for subsequent twversion sessions.
To specify the base window file list display:
![]() | Select one of the following from the Options window: |
To specify an editor:
![]() | Select one of the following from the Options window: |
Note - With Other:__ you must supply a command that will bring up your editor in a separate window. The file name is tacked on the end of the supplied command.
Note - If you set the EDITOR environment variable to one of the top four selections, Versioning brings up the editor automatically without setting it from the Properties window.
To specify the results of the double-click action:
![]() | Select one of the following from the Options window: |
To specify the display of the history graph:
![]() | Select the desired options from the Options window. |
To specify the history information:
![]() | Select one of the following from the Option window: |