version 1.5, 2005/10/13 12:35:30 |
version 1.6, 2005/10/24 16:14:15 |
|
|
|
|
#define REVSEP "----------------------------" |
#define REVSEP "----------------------------" |
#define REVEND \ |
#define REVEND \ |
"============================================================================" |
"=============================================================================" |
|
|
static int hflag; |
static int hflag; |
static int tflag; |
static int tflag; |
|
|
exit(1); |
exit(1); |
} |
} |
|
|
|
if ((hflag == 1) && (tflag == 1)) |
|
cvs_log(LP_WARN, "warning: -t overrides -h."); |
|
|
for (i = 0; i < argc; i++) { |
for (i = 0; i < argc; i++) { |
if (rcs_statfile(argv[i], fpath, sizeof(fpath)) < 0) |
if (rcs_statfile(argv[i], fpath, sizeof(fpath)) < 0) |
continue; |
continue; |
|
|
struct rcs_delta *rdp; |
struct rcs_delta *rdp; |
struct rcs_access *acp; |
struct rcs_access *acp; |
|
|
printf("Working file: %s", fname); |
printf("\nWorking file: %s", fname); |
printf("\nhead:"); |
printf("\nhead:"); |
if (file->rf_head != NULL) |
if (file->rf_head != NULL) |
printf(" %s", rcsnum_tostr(file->rf_head, numb, sizeof(numb))); |
printf(" %s", rcsnum_tostr(file->rf_head, numb, sizeof(numb))); |
|
|
printf("total revisions: %u\n", file->rf_ndelta); |
printf("total revisions: %u\n", file->rf_ndelta); |
|
|
if ((hflag == 0) || (tflag == 1)) |
if ((hflag == 0) || (tflag == 1)) |
printf("description: %s\n", file->rf_desc); |
printf("description:\n%s", file->rf_desc); |
|
|
if ((hflag == 0) && (tflag == 0)) { |
if ((hflag == 0) && (tflag == 0)) { |
TAILQ_FOREACH(rdp, &(file->rf_delta), rd_list) { |
TAILQ_FOREACH(rdp, &(file->rf_delta), rd_list) { |