[project @ 1997-11-24 21:15:26 by sof]
[ghc-hetmet.git] / CVS-CHEAT-SHEET
index b6657ca..902ccdf 100644 (file)
@@ -8,7 +8,10 @@ checked in incrementally.
 
 The full documentation for CVS is online, in info format (use 'info
 cvs' or run emacs and type C-h i).  A good source of tips is the CVS
-FAQ, in /local/doc/gnu/CVS.FAQ.
+FAQ, in /local/doc/gnu/CVS.FAQ.  Bradley C. Kuszmaul provides a "to
+the point" introduction to CVS at
+
+       http://arch.cs.yale.edu:8080/~bradley/cvs-instructions
 
 This note is supposed to be a set of guidelines for how to use CVS at
 Glasgow, and will probably evolve in time.  The main thing to remember
@@ -19,8 +22,25 @@ not sure about feel free to bug the local CVS meister (namely Me
 The following guidelines should mean we don't step on each other's
 toes too much.  Ok, here's what you do:
 
-* Firstly, identify which areas of the source tree you'll be working
-  on.  The directory structure looks like this:
+* (only if using CVS remotely, i.e. not at Glasgow):
+
+  To use remote CVS, you need to supply me with a username and
+  encrypted password.  Once you've done that and the account has been
+  set up, you need to do:
+
+     cvs -d <username>@solander.dcs.gla.ac.uk:/local/fp/src/cvsroot login
+
+  CVS will ask for a password.  You only need to enter the password once, 
+  it will be recorded in .cvspass in your home directory.
+
+     setenv CVSROOT :pserver:<username>@solander.dcs.gla.ac.uk:/local/fp/src/cvsroot
+
+  The CVSROOT environment variable will be recorded in the checked-out
+  tree, so you don't need to set this every time either.  Ignore the
+  instructions for setting CVSROOT below.
+
+* (ok, everybody now...) Firstly, identify which areas of the source
+  tree you'll be working on.  The directory structure looks like this:
 
        fptools/ghc             GHC
        fptools/hslibs          Haskell Libraries