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

Diff for /src/usr.bin/cvs/rcs.c between version 1.249 and 1.250

version 1.249, 2008/02/11 20:33:11 version 1.250, 2008/02/20 09:19:04
Line 3525 
Line 3525 
 rcs_translate_tag(const char *revstr, RCSFILE *rfp)  rcs_translate_tag(const char *revstr, RCSFILE *rfp)
 {  {
         int follow;          int follow;
           char branch[CVS_REV_BUFSZ];
         RCSNUM *brev, *frev, *rev;          RCSNUM *brev, *frev, *rev;
         struct rcs_delta *rdp, *trdp;          struct rcs_delta *rdp, *trdp;
   
         brev = frev = NULL;          brev = frev = NULL;
   
         if (revstr == NULL)          if (revstr == NULL) {
                 revstr = RCS_HEAD_BRANCH;                  if (rfp->rf_branch != NULL) {
                           rcsnum_tostr(rfp->rf_branch, branch, sizeof(branch));
                           revstr = branch;
                   } else {
                           revstr = RCS_HEAD_BRANCH;
                   }
           }
   
         if ((rev = rcs_get_revision(revstr, rfp)) == NULL)          if ((rev = rcs_get_revision(revstr, rfp)) == NULL)
                 return NULL;                  return NULL;

Legend:
Removed from v.1.249  
changed lines
  Added in v.1.250