Tutorial: QWin Basics
Checking Out a File
In this step, you'll check out a file and change its "Expand Keywords" attribute.
Editing a File to Add Keywords
In the previous step, you checked out readme.txt. In this step, you'll edit readme.txt to add several QVCS keywords. Keywords allow you to imbed version control information within the work file itself. In a text file, you add them in their short form, and then QVCS will edit them to add or update the appropriate information when it updates the work file. QVCS supports over 10 different keywords.
- Select readme.txt in the file list. Double click on readme.txt (or right click on readme.txt and select the View menu option). This will launch Notepad (or whatever tool you have associated with .txt files).
- At the top of the file, you'll see two lines that include version information, and copyright information.
- Beneath these two lines, add the following three lines (make sure to get the capitalization right):
$Date$
$Filename$
$Log3$
- Save your edits, and exit your editor.
In the next step, you'll check in these edits and look at the work file again to see how it changed when the keywords expanded.
« Previous - Next »
|