version 1.133, 2008/02/09 12:48:23 |
version 1.134, 2008/02/09 17:01:43 |
|
|
time_t rcstime; |
time_t rcstime; |
CVSENTRIES *ent; |
CVSENTRIES *ent; |
struct timeval tv[2]; |
struct timeval tv[2]; |
|
struct tm *datetm; |
char *tosend; |
char *tosend; |
char template[MAXPATHLEN], entry[CVS_ENT_MAXLINELEN]; |
char template[MAXPATHLEN], entry[CVS_ENT_MAXLINELEN]; |
char kbuf[8], sticky[CVS_REV_BUFSZ], rev[CVS_REV_BUFSZ]; |
char kbuf[8], sticky[CVS_REV_BUFSZ], rev[CVS_REV_BUFSZ]; |
|
|
if (co_flags & CO_SETSTICKY) |
if (co_flags & CO_SETSTICKY) |
if (tag != NULL) |
if (tag != NULL) |
(void)xsnprintf(sticky, sizeof(sticky), "T%s", tag); |
(void)xsnprintf(sticky, sizeof(sticky), "T%s", tag); |
else |
else if (cvs_specified_date != 0) { |
|
datetm = gmtime(&cvs_specified_date); |
|
strftime(sticky, sizeof(sticky), "D%Y.%m.%d.%H.%M.%S", |
|
datetm); |
|
} else |
(void)xsnprintf(sticky, sizeof(sticky), "T%s", rev); |
(void)xsnprintf(sticky, sizeof(sticky), "T%s", rev); |
else if (!reset_tag && cf->file_ent != NULL && |
else if (!reset_tag && cf->file_ent != NULL && |
cf->file_ent->ce_tag != NULL) |
cf->file_ent->ce_tag != NULL) |