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

Diff for /src/usr.bin/cvs/annotate.c between version 1.41 and 1.42

version 1.41, 2007/10/09 12:24:13 version 1.42, 2007/10/09 12:25:27
Line 130 
Line 130 
         if (cvs_specified_tag == NULL)          if (cvs_specified_tag == NULL)
                 rcs_rev_getlines(cf->file_rcs, cf->file_rcs->rf_head, &alines);                  rcs_rev_getlines(cf->file_rcs, cf->file_rcs->rf_head, &alines);
         else {          else {
                 rev = rcsnum_parse(cvs_specified_tag);                  if ((rev = rcs_translate_tag(cvs_specified_tag,
                       cf->file_rcs)) == NULL) {
                           if (!force_head)
                                   /* Stick at weird GNU cvs, ignore error. */
                                   return;
                           rev = rcsnum_alloc();
                           rcsnum_cpy(cf->file_rcs->rf_head, rev, 0);
                   }
   
                 if (rcsnum_cmp(rev, cf->file_rcs->rf_head, 0) < 0) {                  /* rcs_translate_tag may give back an unavailable revision. */
                   if (rcs_findrev(cf->file_rcs, rev) == NULL) {
                         if (!force_head) {                          if (!force_head) {
                                 /* Stick at weird GNU cvs, ignore error. */                                  /* Stick at weird GNU cvs, ignore error. */
                                 rcsnum_free(rev);                                  rcsnum_free(rev);

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42