version 1.103, 2007/09/22 15:30:29 |
version 1.104, 2007/09/22 16:01:22 |
|
|
case 'l': |
case 'l': |
flags &= ~CR_RECURSE_DIRS; |
flags &= ~CR_RECURSE_DIRS; |
break; |
break; |
|
case 'N': |
|
break; |
case 'P': |
case 'P': |
prune_dirs = 1; |
prune_dirs = 1; |
break; |
break; |
|
|
return; |
return; |
} |
} |
|
|
|
cvs_directory_tag = cvs_specified_tag; |
|
|
for (i = 0; i < argc; i++) { |
for (i = 0; i < argc; i++) { |
(void)xsnprintf(repo, sizeof(repo), "%s/%s", |
(void)xsnprintf(repo, sizeof(repo), "%s/%s", |
current_cvsroot->cr_dir, argv[i]); |
current_cvsroot->cr_dir, argv[i]); |
|
|
|
|
exists = 0; |
exists = 0; |
tosend = NULL; |
tosend = NULL; |
rcsnum_tostr(rnum, rev, sizeof(rev)); |
|
|
|
|
if (!(co_flags & CO_REMOVE)) |
|
rcsnum_tostr(rnum, rev, sizeof(rev)); |
|
|
cvs_log(LP_TRACE, "cvs_checkout_file(%s, %s, %d) -> %s", |
cvs_log(LP_TRACE, "cvs_checkout_file(%s, %s, %d) -> %s", |
cf->file_path, rev, co_flags, |
cf->file_path, rev, co_flags, |
(cvs_server_active) ? "to client" : "to disk"); |
(cvs_server_active) ? "to client" : "to disk"); |
|
|
} |
} |
|
|
if (co_flags & CO_SETSTICKY) |
if (co_flags & CO_SETSTICKY) |
if (cvs_specified_tag != NULL) |
if (cvs_directory_tag != NULL) |
(void)xsnprintf(stickytag, sizeof(stickytag), "T%s", |
(void)xsnprintf(stickytag, sizeof(stickytag), "T%s", |
cvs_specified_tag); |
cvs_directory_tag); |
else |
else |
(void)xsnprintf(stickytag, sizeof(stickytag), "T%s", |
(void)xsnprintf(stickytag, sizeof(stickytag), "T%s", |
rev); |
rev); |