Update Command Arguments
See Also
The Update command updates your working directory with any of the changes
that have occurred in the repository. You can also use the Update command to
merge different file revisions together.
You can run this command by right-clicking any file or directory in a VCS filesystem
and choosing CVS
Update.
 |
If the IDE does not display these options, your
CVS filesystem is not set to display advanced command options. Go to the
filesystem's property sheet and set the Advanced Options property to True,
or hold down the Control key while choosing the Add command. |
You can specify the following arguments:
- Prune Empty Folders. Invokes the -P option to prune
(remove) any empty CVS-controlled directories from your working directory.
- Create New Folders. Invokes the -d option to retrieve
directories that exist in the repository but not in your working directory.
- Reset Sticky Tags/Dates. Invokes the -A option to
clear any sticky tags, sticky dates, or sticky options, which might result
in the contents of the files in your working directory changing.
- Get Clean Repository Copy. Invokes the -C option
to clean out any locally changed files and replace them with the latest versions
in the repository.
- Force a Head Revision if Tag/Date not found. Invokes the -f
option to force to the head revision if no matching revisions are found with
the -D or -r options.
- Send Updates to Standard Output. Invokes the -p option
to view previous versions of the file.
- Keyword Substitution. Specifies one of the following keyword substitutions:
- Binary (-kb). Invokes the -kb option to
reuse the keyword string found in the file and suppress the interplatform
line-end conversions. The -b stands for binary and is the mode
that you use for binary files.
- Keyword and Value (-kkv). If selected, this option
generates the keyword and its value from the keyword strings in the updated
file. This is the default keyword expansion mode.
- Keyword, Value, Locker (-kkvl). If selected, this
option expands the keyword to keyword, value, and the locker's name.
- Keyword Only(-kk). If selected, this option uses
the keyword name, but does not expand the values in the keyword strings.
- Value Only(-kv). If selected, this option substitutes
the keyword with its value. Once this option has been used, future substitutions
will not happen.
- Reuse Old Value(-ko). If selected, this option
reuses the keyword string found in the file.
- Date. Invokes the -D option to update the version
that is no later than the date you specify in the text box.
- Revision or Tag. Invokes the -r option to update
to the revision or tag that you specify in the text box.
- No Merge.
- Merge With Revision. Invokes the -j option to merge
the current working file with the revision that you specify in the text box.
- Merge With Differences Between Two Revisions. Invokes the
-j option to merge the version specified in the Merge Revision With
Current text box and the version specified in the Merge Two Revisions text
box into the working copy.
 |
The dialog box also includes a Global
Options tab in which you can set global CVS command options. |
Legal Notices