[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.95 and 1.96

version 1.95, 2015/04/04 14:19:10 version 1.96, 2015/04/04 14:20:11
Line 121 
Line 121 
         size_t len;          size_t len;
         RCSNUM *head;          RCSNUM *head;
         const char *status;          const char *status;
           struct rcs_delta *rdp;
         char buf[PATH_MAX + CVS_REV_BUFSZ + 128];          char buf[PATH_MAX + CVS_REV_BUFSZ + 128];
         char timebuf[CVS_TIME_BUFSZ], revbuf[CVS_REV_BUFSZ];          char timebuf[CVS_TIME_BUFSZ], revbuf[CVS_REV_BUFSZ];
         struct rcs_sym *sym;          struct rcs_sym *sym;
Line 210 
Line 211 
         }          }
   
         cvs_printf("   Repository revision:\t%s\n", buf);          cvs_printf("   Repository revision:\t%s\n", buf);
   
           if (cf->file_rcs != NULL && head != NULL) {
                   rdp = rcs_findrev(cf->file_rcs, head);
                   if (rdp == NULL) {
                           fatal("cvs_status_local: No head revision delta");
                   }
   
                   cvs_printf("   Commit Identifier:\t%s\n",
                       (rdp->rd_commitid != NULL) ? rdp->rd_commitid : "(none)");
           }
   
         if (cf->file_ent != NULL) {          if (cf->file_ent != NULL) {
                 if (cf->file_ent->ce_tag != NULL)                  if (cf->file_ent->ce_tag != NULL)

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96