My Tech notes: CVS admin Lock Commands Useful
Subscribe

Unix Documentation

Free Online Unix Training Materials

Lists many links to free Unix training materials.

Pointers and Arrays Materials

Pointers and Arrays materials Explained for C beginners

C FAQ and General Questions C Interview Questions

Powered By

Free XML Skins for Blogger

Powered by Blogger

Wednesday, August 20, 2008

CVS admin Lock Commands Useful

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.

No comments:

Post a Comment