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

Diff for /src/usr.bin/cvs/annotate.c between version 1.68 and 1.69

version 1.68, 2017/05/31 16:14:37 version 1.69, 2017/06/01 08:08:24
Line 104 
Line 104 
         cr.enterdir = NULL;          cr.enterdir = NULL;
         cr.leavedir = NULL;          cr.leavedir = NULL;
   
         if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) {          if (cvsroot_is_remote()) {
                 cvs_client_connect_to_server();                  cvs_client_connect_to_server();
                 cr.fileproc = cvs_client_sendfile;                  cr.fileproc = cvs_client_sendfile;
   
Line 130 
Line 130 
   
         cr.flags = flags;          cr.flags = flags;
   
         if (cvs_cmdop == CVS_OP_ANNOTATE ||          if (cvs_cmdop == CVS_OP_ANNOTATE || cvsroot_is_local()) {
             current_cvsroot->cr_method == CVS_METHOD_LOCAL) {  
                 if (argc > 0)                  if (argc > 0)
                         cvs_file_run(argc, argv, &cr);                          cvs_file_run(argc, argv, &cr);
                 else                  else
                         cvs_file_run(1, &arg, &cr);                          cvs_file_run(1, &arg, &cr);
         }          }
   
         if (current_cvsroot->cr_method != CVS_METHOD_LOCAL) {          if (cvsroot_is_remote()) {
                 cvs_client_send_files(argv, argc);                  cvs_client_send_files(argv, argc);
                 cvs_client_senddir(".");                  cvs_client_senddir(".");
   

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69