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

Diff for /src/usr.bin/cvs/history.c between version 1.5 and 1.6

version 1.5, 2004/12/07 17:10:56 version 1.6, 2005/01/31 21:46:43
Line 146 
Line 146 
                 flags |= CVS_HF_O;    /* use -o as default */                  flags |= CVS_HF_O;    /* use -o as default */
   
         root = cvsroot_get(".");          root = cvsroot_get(".");
           if (root == NULL) {
                   cvs_log(LP_ERR,
                       "No CVSROOT specified!  Please use the `-d' option");
                   cvs_log(LP_ERR,
                       "or set the CVSROOT environment variable.");
                   return (EX_USAGE);
           }
         if (root->cr_method == CVS_METHOD_LOCAL) {          if (root->cr_method == CVS_METHOD_LOCAL) {
                 snprintf(histpath, sizeof(histpath), "%s/%s", root->cr_dir,                  snprintf(histpath, sizeof(histpath), "%s/%s", root->cr_dir,
                     CVS_PATH_HISTORY);                      CVS_PATH_HISTORY);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6