Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

Lexical Tools

CVS basic setup & Commands

I. Setup

  • CVS repository: The CVS repository of LVG project is located on "/nfsvol/nls/cvs"
  • Setup:
    1. Add "/depot/bin" to your path.

      Example in Unix:
      Add following line in file ".cshrc"
      set path=($path /depot/bin)

    2. Set environment variable - CVSROOT

      Example in Unix:
      Add following line in file ".cshrc"
      setenv CVSROOT /nfsvol/nls/cvs

    3. Make the new ".cshrc" effect

      Example in Unix:
      > cd
      > source .cshrc

II. Commands

  • Add file/directory to CVS repository
    • cvs import xxx
    • cvs add xxx

  • Setup for multiple users
    • cvs watch on xxx

  • Checkout file/directory to local working file system
    • cvs checkout xxx

  • Modify a file
    • cvs editors
    • cvs edit xxx
    • Modify the file (vi or other editors)
    • cvs unedit xxx
    • cvs commit xxx

  • Modify a file
    • cvs editors
    • cvs edit xxx
    • Modify the file (vi or other editors)
    • cvs unedit xxx

  • Other Commands
    • cvs update xxx
    • cvs status xxx