Name
edit — Synonyms: none
Synopsis
cvs [cvs-options] edit [-lR] [-aaction...] [files...]
Marks a file as being edited by the current user.
See also editors, unedit,
watch, and watchers.
Command options
-
-a action Notify the user when the specified
actionoccurs to the file. This setting acts as a temporary watch (seewatch) on the file and is removed when the file is no longer being edited. Each-adesignates one of the possible actions. The-aoption can be repeated to designate multiple actions.The action may be any of the following:
-
edit Notify the user if someone else has run
cvs editon the file.-
unedit Notify the user when the file is no longer being edited by someone else. This notification is triggered by the user running
cvs uneditorcvs releaseor by the file being deleted and recreated withcvs updateorcvs checkout.-
commit Notify the user when someone else commits changes to the file.
-
all Notify the user of all of the previous actions.
-
none Notify the user of none of the previous actions.
-
-
-l Run
editon files in the local directory only. (Do not recurse down subdirectories.)See also
-R.-
-R Run
editon files in the local directory and all subdirectories and recurse down the subdirectories. This option is the default.See also
-l.
Description
The cvs edit command is used as part of the
cvs watch family of commands. If a file is being
watched, it is checked out to the sandbox with read permissions but
not write permissions. The edit command sets the sandbox file as writable, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access