CVS Pocket Reference, 2nd Edition

Book description

The beauty of open source is making code freely available. The curse is trying to organize the chaos that code development can evolve into. CVS, the Concurrent Version System, is an open source tool for managing and distributing source code. It allows multiple users dispersed over a wide geographic area to work on the same file at the same time, using a shared directory. Under CVS, multiple users can check out files from a directory tree, make changes, and then commit those changes back into the directory. CVS is a pivotal tool on many projects involving information or software, whether in-house or conducted over the Internet.The CVS Pocket Reference is a quick reference guide to help administrators and users set up and manage source code development. This small book delivers the core concepts of version control along with a complete command reference and guide to configuration and repository set up. The book includes:

  • A version control primer that teaches the general concepts of version control and how it applies to CVS.
  • Instructions on how to install and configure CVS for Unix®-like operating systems.
  • Administrator and user sections, with complete listings of their respective commands and options for configuring and using CVS.
  • Details on how to import files from RCS and SCCS directories into CVS.
  • References to related useful materials.
Much more than a quick list of commands and options, this little book is packed with a surprising amount of detail--including an overview of background concepts, thorough descriptions on how to use and administer a CVS repository, and discussions of CVS-related files and how to manage them--all in a convenient reference format. This edition covers the CVS 1.11 and includes new commands for querying a central CVS repository, new configuration parameters, and new options for setting up a server for remote access. The book is a perfect companion for open source developers. The CVS Pocket Reference also contains tips on common tasks, such as converting projects from other revision control formats to CVS. It's an absolute must for developers who need an on-the-job guide for quick answers to CVS dilemmas.

Table of contents

  1. Contents
  2. CVS Pocket Reference
    1. Introduction
      1. Conventions Used in This Book
      2. For More Information
      3. Version Control and CVS
        1. Locking and merging
        2. Conflicts and merging
        3. Tagging
        4. Branching
      4. CVS Command Format
      5. Common Global Options
      6. Gotchas
    2. Installing CVS
      1. Obtaining CVS
      2. Unpacking CVS
      3. Compiling CVS
      4. Installing CVS
    3. CVS Administrator Reference
      1. Creating a Repository
        1. Setting up the password server with inetd
        2. Setting up the password server with xinetd
      2. Security Issues
      3. Repository Structure (1/3)
      4. Repository Structure (2/3)
      5. Repository Structure (3/3)
        1. The CVSROOT directory
        2. The checkoutlist file
        3. The commitinfo file
        4. The config file
        5. The cvsignore file
        6. The cvswrappers file
        7. The history file
        8. The loginfo file
        9. The modules file
        10. The notify file
        11. The passwd file
        12. The rcsinfo file
        13. The readers file
        14. The taginfo file
        15. The users file
        16. The verifymsg file
        17. The writers file
      6. Hacking the Repository
        1. Restructuring a project
        2. Removing unwanted files
      7. Importing
        1. Importing code snapshots
        2. Importing from RCS
        3. Importing from SCCS
        4. Importing from PVCS
      8. Using an Interim Shared Sandbox
      9. Global Server Option
      10. Administrator Commands
        1. admin
        2. init
        3. kserver
        4. pserver
        5. server
    4. CVS User Reference
      1. Repository Locators
      2. Configuring CVS
      3. Creating a Sandbox
      4. Sandbox Structure
        1. .cvsignore files
        2. .cvswrappers files
        3. CVS directories
      5. Client Global Options
      6. Common Client Options
        1. Date formats
        2. Keyword substitutions
      7. User Commands (1/6)
      8. User Commands (2/6)
      9. User Commands (3/6)
      10. User Commands (4/6)
      11. User Commands (5/6)
      12. User Commands (6/6)
        1. add
        2. annotate
        3. checkout
        4. commit
        5. diff
        6. edit
        7. editors
        8. export
        9. help
        10. history
        11. import
        12. log
        13. login
        14. logout
        15. rannotate
        16. rdiff
        17. release
        18. remove
        19. rlog
        20. rtag
        21. status
        22. tag
        23. unedit
        24. update
        25. version
        26. watch
        27. watchers
    5. Related Resources
      1. Emacs CVS Mode
      2. Perl
      3. CVS Clients
      4. CVS Utilities
      5. CVS Web Interfaces
  3. Index (1/2)
  4. Index (2/2)

Product information

  • Title: CVS Pocket Reference, 2nd Edition
  • Author(s): Gregor N. Purdy
  • Release date: August 2003
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9780596528607