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

Diff for /src/usr.bin/cvs/status.c between version 1.27 and 1.28

version 1.27, 2005/07/05 16:06:52 version 1.28, 2005/07/05 16:14:47
Line 177 
Line 177 
 cvs_status_local(CVSFILE *cf, void *arg)  cvs_status_local(CVSFILE *cf, void *arg)
 {  {
         int len;          int len;
         char *repo, buf[MAXNAMLEN], fpath[MAXPATHLEN], rcspath[MAXPATHLEN];          char buf[MAXNAMLEN], fpath[MAXPATHLEN], rcspath[MAXPATHLEN];
           char *repo;
         RCSFILE *rf;          RCSFILE *rf;
         struct cvsroot *root;          struct cvsroot *root;
   
Line 211 
Line 212 
                 strlcpy(buf, "no file ", sizeof(buf));                  strlcpy(buf, "no file ", sizeof(buf));
         strlcat(buf, cf->cf_name, sizeof(buf));          strlcat(buf, cf->cf_name, sizeof(buf));
   
         cvs_printf(CVS_STATUS_SEP "\nFile: %-18sStatus: %s\n\n",          cvs_printf(CVS_STATUS_SEP "\nFile: %-17s\tStatus: %s\n\n",
             buf, cvs_statstr[cf->cf_cvstat]);              buf, cvs_statstr[cf->cf_cvstat]);
   
         if (cf->cf_cvstat == CVS_FST_UNKNOWN) {          if (cf->cf_cvstat == CVS_FST_UNKNOWN) {
Line 221 
Line 222 
                     rcsnum_tostr(cf->cf_lrev, buf, sizeof(buf)));                      rcsnum_tostr(cf->cf_lrev, buf, sizeof(buf)));
         }          }
   
         cvs_printf("   Working revision:    %s\n", buf);          cvs_printf("   Working revision:\t%s\n", buf);
         rcsnum_tostr(rf->rf_head, buf, sizeof(buf));          rcsnum_tostr(rf->rf_head, buf, sizeof(buf));
         cvs_printf("   Repository revision: %s %s\n", buf, rcspath);          cvs_printf("   Repository revision:\t%s\t%s\n", buf, rcspath);
         cvs_printf("   Sticky Tag:          %s\n",          cvs_printf("   Sticky Tag:\t\t%s\n",
             cf->cf_tag == NULL ? "(none)" : cf->cf_tag);              cf->cf_tag == NULL ? "(none)" : cf->cf_tag);
         cvs_printf("   Sticky Date:         %s\n", "(none)");          cvs_printf("   Sticky Date:\t\t%s\n", "(none)");
         cvs_printf("   Sticky Options:      %s\n",          cvs_printf("   Sticky Options:\t%s\n",
             cf->cf_opts == NULL ? "(none)" : cf->cf_opts);              cf->cf_opts == NULL ? "(none)" : cf->cf_opts);
   
         cvs_printf("\n");          cvs_printf("\n");

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28