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

Diff for /src/usr.bin/cvs/client.c between version 1.61 and 1.62

version 1.61, 2007/05/17 03:26:33 version 1.62, 2007/05/25 22:36:47
Line 525 
Line 525 
         char *sp, *ep;          char *sp, *ep;
         struct cvs_req *req;          struct cvs_req *req;
   
         sp = data;          if ((sp = data) == NULL)
                   fatal("Missing argument for Valid-requests");
   
         do {          do {
                 if ((ep = strchr(sp, ' ')) != NULL)                  if ((ep = strchr(sp, ' ')) != NULL)
                         *ep = '\0';                          *ep = '\0';
Line 551 
Line 553 
 void  void
 cvs_client_e(char *data)  cvs_client_e(char *data)
 {  {
           if (data == NULL)
                   fatal("Missing argument for E");
   
         cvs_printf("%s\n", data);          cvs_printf("%s\n", data);
 }  }
   
 void  void
 cvs_client_m(char *data)  cvs_client_m(char *data)
 {  {
           if (data == NULL)
                   fatal("Missing argument for M");
   
         cvs_printf("%s\n", data);          cvs_printf("%s\n", data);
 }  }
   
Line 568 
Line 576 
         char *dir, *e, entry[CVS_ENT_MAXLINELEN], rev[16], timebuf[64];          char *dir, *e, entry[CVS_ENT_MAXLINELEN], rev[16], timebuf[64];
         char sticky[16];          char sticky[16];
   
           if (data == NULL)
                   fatal("Missing argument for Checked-in");
   
         dir = cvs_remote_input();          dir = cvs_remote_input();
         e = cvs_remote_input();          e = cvs_remote_input();
         xfree(dir);          xfree(dir);
Line 610 
Line 621 
         char timebuf[32], repo[MAXPATHLEN], *rpath, entry[CVS_ENT_MAXLINELEN];          char timebuf[32], repo[MAXPATHLEN], *rpath, entry[CVS_ENT_MAXLINELEN];
         char *en, *mode, revbuf[32], *len, *fpath, *wdir;          char *en, *mode, revbuf[32], *len, *fpath, *wdir;
   
           if (data == NULL)
                   fatal("Missing argument for Updated");
   
         client_check_directory(data);          client_check_directory(data);
   
         rpath = cvs_remote_input();          rpath = cvs_remote_input();
Line 689 
Line 703 
         char timebuf[32], *repo, *rpath, *entry, *mode;          char timebuf[32], *repo, *rpath, *entry, *mode;
         char *len, *fpath, *wdir;          char *len, *fpath, *wdir;
   
           if (data == NULL)
                   fatal("Missing argument for Merged");
   
         client_check_directory(data);          client_check_directory(data);
   
         rpath = cvs_remote_input();          rpath = cvs_remote_input();
Line 762 
Line 779 
         CVSENTRIES *entlist;          CVSENTRIES *entlist;
         char *filename, *rpath;          char *filename, *rpath;
   
           if (data == NULL)
                   fatal("Missing argument for Remove-entry");
   
         rpath = cvs_remote_input();          rpath = cvs_remote_input();
         if ((filename = strrchr(rpath, '/')) == NULL)          if ((filename = strrchr(rpath, '/')) == NULL)
                 fatal("bad rpath in cvs_client_remove_entry: %s", rpath);                  fatal("bad rpath in cvs_client_remove_entry: %s", rpath);
Line 783 
Line 803 
         if (cvs_cmdop == CVS_OP_EXPORT)          if (cvs_cmdop == CVS_OP_EXPORT)
                 return;                  return;
   
           if (data == NULL)
                   fatal("Missing argument for Set-static-directory");
   
         STRIP_SLASH(data);          STRIP_SLASH(data);
   
         dir = cvs_remote_input();          dir = cvs_remote_input();
Line 806 
Line 829 
         if (cvs_cmdop == CVS_OP_EXPORT)          if (cvs_cmdop == CVS_OP_EXPORT)
                 return;                  return;
   
           if (data == NULL)
                   fatal("Missing argument for Clear-static-directory");
   
         STRIP_SLASH(data);          STRIP_SLASH(data);
   
         dir = cvs_remote_input();          dir = cvs_remote_input();
Line 826 
Line 852 
         if (cvs_cmdop == CVS_OP_EXPORT)          if (cvs_cmdop == CVS_OP_EXPORT)
                 return;                  return;
   
           if (data == NULL)
                   fatal("Missing argument for Set-sticky");
   
         STRIP_SLASH(data);          STRIP_SLASH(data);
   
         dir = cvs_remote_input();          dir = cvs_remote_input();
Line 852 
Line 881 
   
         if (cvs_cmdop == CVS_OP_EXPORT)          if (cvs_cmdop == CVS_OP_EXPORT)
                 return;                  return;
   
           if (data == NULL)
                   fatal("Missing argument for Clear-sticky");
   
         STRIP_SLASH(data);          STRIP_SLASH(data);
   

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62