[BACK]Return to checkout.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/checkout.c between version 1.36 and 1.37

version 1.36, 2005/07/08 08:24:09 version 1.37, 2005/07/08 08:54:43
Line 81 
Line 81 
   
 static char *date, *tag, *koptstr, *tgtdir, *rcsid;  static char *date, *tag, *koptstr, *tgtdir, *rcsid;
 static int statmod = 0;  static int statmod = 0;
 static int shorten = 1;  static int shorten = 0;
 static int usehead = 0;  static int usehead = 0;
 static int kflag = RCS_KWEXP_DEFAULT;  static int kflag = RCS_KWEXP_DEFAULT;
   
Line 110 
Line 110 
                         break;                          break;
                 case 'd':                  case 'd':
                         tgtdir = optarg;                          tgtdir = optarg;
                           shorten = 1;
                         break;                          break;
                 case 'f':                  case 'f':
                         usehead = 1;                          usehead = 1;
Line 214 
Line 215 
         }          }
   
         if (root->cr_method != CVS_METHOD_LOCAL) {          if (root->cr_method != CVS_METHOD_LOCAL) {
                   /*
                    * These arguments are for the expand-modules
                    * command that we send to the server before requesting
                    * a checkout.
                    */
                   for (i = 0; i < co_nmod; i++)
                           if (cvs_sendarg(root, co_mods[i], 0) < 0)
                                   return (CVS_EX_PROTO);
                 if (cvs_sendreq(root, CVS_REQ_DIRECTORY, ".") < 0)                  if (cvs_sendreq(root, CVS_REQ_DIRECTORY, ".") < 0)
                         return (CVS_EX_PROTO);                          return (CVS_EX_PROTO);
                 if (cvs_sendln(root, root->cr_dir) < 0)                  if (cvs_sendln(root, root->cr_dir) < 0)

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37