Download Professional G Developers Tools Reference Manual

Transcript
Chapter 11
Source Code Control Tools
Labeling Versions of Files for Easy Retrieval
With the built-in SCC system, the File History… button in the
SCC Advanced dialog box lets you retrieve older versions of files. By
default, however, the names you see are based on the older version number
and the version creation date. The SCC View File History dialog box lets
you optionally label the current version so it is easier to recognize if
you later need to retrieve it. Also, labeling a file ensures that it is not
automatically deleted as it gets older. One of the administrator options
for the built-in system is to specify how many older versions of a file to
maintain. Labeled versions of a file are not deleted unless you delete them
yourself, either from the SCC File History dialog box or from the
SCC Advanced dialog box.
If you use a third-party SCC system, you probably have the option of
labeling files as well, but you might have to do it using the SCC tools that
company provides. Also, notice that with third-party tools, the way in
which previous versions are maintained and when they get deleted is
configured using the tools provided with the third-party SCC system.
If you use the built-in SCC system and you need to label multiple files, you
can use the SCC View File History dialog box on each one, but that can be
tedious. Instead, if you want to take a snapshot of all the files in a project
and apply the same label to all the files, use the SCC View System History
dialog box. It has an option that lets you label all files in a project with the
same label. It also has an option for retrieving files with the same label.
Creating Reports
An important feature of any SCC tool is the ability to generate reports
that describe system and file activity because SCC tools should help you
not only to maintain files but also to track the changes that happen to
those files.
The Reports… button in the SCC Advanced dialog box lets you create
basic reports that describe file transactions and information about the
projects maintained under Source Code Control. These reports are saved to
a text file that you can edit or print using a word processor.
The options in the SCC Reports dialog box depend on the SCC system
you use.
Professional G Developers Tools Reference Manual
11-34
© National Instruments Corporation