Working on more than one file by multiple developers, need to know CVS commands to control the check in and check out, CVS admin -l command is useful.
cvs admin -l This will lock the present cvs revision of the file.
Otherthan the one who holds the lock no one else can commit the file.
CVS check-in will fail.
cvs admin -u
This will unlock the file.
Now another user can commit the file or can acquire the lock.
If one developer holds lock on the entire directory then others cannot modify any existing files
but they can add new files.
Comments