[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.103 and 1.104

version 1.103, 2007/09/22 15:30:29 version 1.104, 2007/09/22 16:01:22
Line 72 
Line 72 
                 case 'l':                  case 'l':
                         flags &= ~CR_RECURSE_DIRS;                          flags &= ~CR_RECURSE_DIRS;
                         break;                          break;
                   case 'N':
                           break;
                 case 'P':                  case 'P':
                         prune_dirs = 1;                          prune_dirs = 1;
                         break;                          break;
Line 184 
Line 186 
                 return;                  return;
         }          }
   
           cvs_directory_tag = cvs_specified_tag;
   
         for (i = 0; i < argc; i++) {          for (i = 0; i < argc; i++) {
                 (void)xsnprintf(repo, sizeof(repo), "%s/%s",                  (void)xsnprintf(repo, sizeof(repo), "%s/%s",
                     current_cvsroot->cr_dir, argv[i]);                      current_cvsroot->cr_dir, argv[i]);
Line 258 
Line 262 
   
         exists = 0;          exists = 0;
         tosend = NULL;          tosend = NULL;
         rcsnum_tostr(rnum, rev, sizeof(rev));  
   
           if (!(co_flags & CO_REMOVE))
                   rcsnum_tostr(rnum, rev, sizeof(rev));
   
         cvs_log(LP_TRACE, "cvs_checkout_file(%s, %s, %d) -> %s",          cvs_log(LP_TRACE, "cvs_checkout_file(%s, %s, %d) -> %s",
             cf->file_path, rev, co_flags,              cf->file_path, rev, co_flags,
             (cvs_server_active) ? "to client" : "to disk");              (cvs_server_active) ? "to client" : "to disk");
Line 320 
Line 326 
         }          }
   
         if (co_flags & CO_SETSTICKY)          if (co_flags & CO_SETSTICKY)
                 if (cvs_specified_tag != NULL)                  if (cvs_directory_tag != NULL)
                         (void)xsnprintf(stickytag, sizeof(stickytag), "T%s",                          (void)xsnprintf(stickytag, sizeof(stickytag), "T%s",
                             cvs_specified_tag);                              cvs_directory_tag);
                 else                  else
                         (void)xsnprintf(stickytag, sizeof(stickytag), "T%s",                          (void)xsnprintf(stickytag, sizeof(stickytag), "T%s",
                             rev);                              rev);

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104