Node: Starting a new project, Next: , Previous: Creating a repository, Up: Basic Use



Starting a new project

To create the first version of a completely new project named P1, go to the desired working directory and use the following command:

     % prcs checkout P1
     

Assuming there is no prior project P1, the only result of this command is to create a working file P1.prj in the current directory; the projects directory and its contents are not modified. In P1.prj, you will initially find the following lines:

     ;; -*- Lisp -*-
     (Created-By-Prcs-Version 1 1 0)
     (Project-Description "")
     (Project-Version P1 0 0)
     (Parent-Version -*- -*- -*-)
     (Version-Log "Empty project.")
     (New-Version-Log "")
     (Checkin-Time "Sun, 31 Dec 1995 01:54:11 -0700")
     (Checkin-Login jmacd)
     (Populate-Ignore ())
     (Project-Keywords)
     (Files
     ; This is a comment.  Fill in files here.
     ; For example:  (prcs/checkout.cc ())
     )
     (Merge-Parents)
     (New-Merge-Parents)
     

The second line identifies the project version from which these files came: in this case from a version 0.0 of the project named P1. Minor version 0 exists implicitly for every major version of a project; it is empty, containing no files and a standard project descriptor, as shown above. The third line indicates the (in this case, nonexistent) version from which version 0.0 was derived.