=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/rlog.c,v retrieving revision 1.60 retrieving revision 1.61 diff -c -r1.60 -r1.61 *** src/usr.bin/rcs/rlog.c 2008/02/02 16:21:38 1.60 --- src/usr.bin/rcs/rlog.c 2008/02/02 19:26:24 1.61 *************** *** 1,4 **** ! /* $OpenBSD: rlog.c,v 1.60 2008/02/02 16:21:38 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink * Copyright (c) 2005, 2006 Xavier Santolaria --- 1,4 ---- ! /* $OpenBSD: rlog.c,v 1.61 2008/02/02 19:26:24 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink * Copyright (c) 2005, 2006 Xavier Santolaria *************** *** 370,394 **** */ if (nrdp != NULL && rdp->rd_num->rn_len == nrdp->rd_num->rn_len) { int added, removed; rcs_delta_stats(nrdp, &added, &removed); if (RCSNUM_ISBRANCHREV(rdp->rd_num)) printf(" lines: +%d -%d", added, removed); else printf(" lines: +%d -%d", removed, added); ! } ! printf("\n"); ! if (!TAILQ_EMPTY(&(rdp->rd_branches))) { ! printf("branches:"); ! TAILQ_FOREACH(rb, &(rdp->rd_branches), rb_list) { ! RCSNUM *branch; ! branch = rcsnum_revtobr(rb->rb_num); ! (void)rcsnum_tostr(branch, numb, sizeof(numb)); ! printf(" %s;", numb); ! rcsnum_free(branch); ! } ! printf("\n"); } printf("%s", rdp->rd_log); } --- 370,395 ---- */ if (nrdp != NULL && rdp->rd_num->rn_len == nrdp->rd_num->rn_len) { int added, removed; + rcs_delta_stats(nrdp, &added, &removed); if (RCSNUM_ISBRANCHREV(rdp->rd_num)) printf(" lines: +%d -%d", added, removed); else printf(" lines: +%d -%d", removed, added); ! } ! printf("\n"); ! if (!TAILQ_EMPTY(&(rdp->rd_branches))) { ! printf("branches:"); ! TAILQ_FOREACH(rb, &(rdp->rd_branches), rb_list) { ! RCSNUM *branch; ! branch = rcsnum_revtobr(rb->rb_num); ! (void)rcsnum_tostr(branch, numb, sizeof(numb)); ! printf(" %s;", numb); ! rcsnum_free(branch); } + printf("\n"); + } printf("%s", rdp->rd_log); }