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

Diff for /src/usr.bin/cvs/file.c between version 1.199 and 1.200

version 1.199, 2007/09/22 16:01:22 version 1.200, 2007/09/23 10:49:49
Line 667 
Line 667 
         }          }
   
         notag = 0;          notag = 0;
           cf->file_flags |= FILE_HAS_TAG;
         if (tag != NULL && cf->file_rcs != NULL) {          if (tag != NULL && cf->file_rcs != NULL) {
                 if ((cf->file_rcsrev = rcs_translate_tag(tag,                  if ((cf->file_rcsrev = rcs_translate_tag(tag,
                     cf->file_rcs)) != NULL) {                      cf->file_rcs)) != NULL) {
Line 674 
Line 675 
                 } else {                  } else {
                         notag = 1;                          notag = 1;
                         cf->file_rcsrev = rcs_head_get(cf->file_rcs);                          cf->file_rcsrev = rcs_head_get(cf->file_rcs);
                           cf->file_flags &= ~FILE_HAS_TAG;
                 }                  }
         } else if (cf->file_ent != NULL && cf->file_ent->ce_tag != NULL) {          } else if (cf->file_ent != NULL && cf->file_ent->ce_tag != NULL) {
                 cf->file_rcsrev = rcsnum_alloc();                  cf->file_rcsrev = rcsnum_alloc();

Legend:
Removed from v.1.199  
changed lines
  Added in v.1.200