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

Diff for /src/usr.bin/cvs/update.c between version 1.152 and 1.153

version 1.152, 2008/06/14 03:19:15 version 1.153, 2008/06/14 03:58:29
Line 79 
Line 79 
                 case 'D':                  case 'D':
                         dateflag = optarg;                          dateflag = optarg;
                         cvs_specified_date = cvs_date_parse(dateflag);                          cvs_specified_date = cvs_date_parse(dateflag);
                           reset_tag = 0;
                         break;                          break;
                 case 'd':                  case 'd':
                         build_dirs = 1;                          build_dirs = 1;
Line 415 
Line 416 
         case FILE_LOST:          case FILE_LOST:
         case FILE_CHECKOUT:          case FILE_CHECKOUT:
         case FILE_PATCH:          case FILE_PATCH:
                 if ((tag != NULL && !reset_tag) || cvs_specified_date != -1 ||                  if (!reset_tag && (tag != NULL || cvs_specified_date != -1 ||
                     (((cf->file_ent != NULL) && cf->file_ent->ce_tag != NULL) &&                      cvs_directory_date != -1 || (cf->file_ent != NULL &&
                     !reset_tag))                      cf->file_ent->ce_tag != NULL)))
                         flags = CO_SETSTICKY;                          flags = CO_SETSTICKY;
   
                 cvs_checkout_file(cf, cf->file_rcsrev, tag, flags);                  cvs_checkout_file(cf, cf->file_rcsrev, tag, flags);
Line 455 
Line 456 
                 if (cf->file_rcsrev == NULL)                  if (cf->file_rcsrev == NULL)
                         break;                          break;
   
                 if (tag == NULL && cvs_specified_date == -1)                  if (tag == NULL && cvs_specified_date == -1 &&
                       cvs_directory_date == -1 && !reset_tag &&
                       !reset_option)
                         break;                          break;
   
                 if (cf->file_rcs->rf_dead != 1 &&                  if (cf->file_rcs->rf_dead != 1 &&

Legend:
Removed from v.1.152  
changed lines
  Added in v.1.153