version 1.135, 2008/02/09 20:04:00 |
version 1.136, 2008/02/10 10:21:42 |
|
|
static int nflag = 0; |
static int nflag = 0; |
|
|
char *checkout_target_dir = NULL; |
char *checkout_target_dir = NULL; |
time_t cvs_specified_date; |
time_t cvs_specified_date = -1; |
|
|
struct cvs_cmd cvs_cmd_checkout = { |
struct cvs_cmd cvs_cmd_checkout = { |
CVS_OP_CHECKOUT, CVS_USE_WDIR, "checkout", |
CVS_OP_CHECKOUT, CVS_USE_WDIR, "checkout", |
|
|
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 if (cvs_specified_date != 0) { |
else if (cvs_specified_date != -1) { |
datetm = gmtime(&cvs_specified_date); |
datetm = gmtime(&cvs_specified_date); |
strftime(sticky, sizeof(sticky), "D%Y.%m.%d.%H.%M.%S", |
strftime(sticky, sizeof(sticky), "D%Y.%m.%d.%H.%M.%S", |
datetm); |
datetm); |