version 1.107, 2008/01/10 10:08:22 |
version 1.108, 2008/01/21 16:36:46 |
|
|
argc -= optind; |
argc -= optind; |
argv += optind; |
argv += optind; |
|
|
|
if (cvs_specified_tag == NULL) |
|
fatal("must specify a tag or date"); |
|
|
if (argc == 0) |
if (argc == 0) |
fatal("%s", cvs_cmd_export.cmd_synopsis); |
fatal("%s", cvs_cmd_export.cmd_synopsis); |
|
|
|
|
flags &= ~CR_REPO; |
flags &= ~CR_REPO; |
cr.flags = flags; |
cr.flags = flags; |
|
|
cvs_file_run(argc, argv, &cr); |
if (cvs_cmdop != CVS_OP_EXPORT) |
|
cvs_file_run(argc, argv, &cr); |
|
|
cvs_client_send_files(argv, argc); |
cvs_client_send_files(argv, argc); |
cvs_client_senddir("."); |
cvs_client_senddir("."); |
|
|
cf->file_name, rev, timebuf, kbuf, stickytag); |
cf->file_name, rev, timebuf, kbuf, stickytag); |
|
|
if (cvs_server_active == 0) { |
if (cvs_server_active == 0) { |
if (!(co_flags & CO_REMOVE)) { |
if (!(co_flags & CO_REMOVE) && cvs_cmdop != CVS_OP_EXPORT) { |
ent = cvs_ent_open(cf->file_wd); |
ent = cvs_ent_open(cf->file_wd); |
cvs_ent_add(ent, entry); |
cvs_ent_add(ent, entry); |
cvs_ent_close(ent, ENT_SYNC); |
cvs_ent_close(ent, ENT_SYNC); |