version 1.3, 2005/03/29 03:10:27 |
version 1.4, 2005/03/31 15:47:17 |
|
|
struct cvs_cmd_info *c = cmd->cmd_info; |
struct cvs_cmd_info *c = cmd->cmd_info; |
|
|
if (c->cmd_options != NULL) { |
if (c->cmd_options != NULL) { |
if ((ret = c->cmd_options(cmd->cmd_opts, argc, argv, &i)) < 0) |
if ((ret = c->cmd_options(cmd->cmd_opts, argc, argv, &i))) |
return (ret); |
return (ret); |
|
|
argc -= i; |
argc -= i; |
|
|
if (cvs_files == NULL) |
if (cvs_files == NULL) |
return (EX_DATAERR); |
return (EX_DATAERR); |
|
|
if ((c->cmd_helper != NULL) && ((ret = c->cmd_helper()) < 0)) |
if ((c->cmd_helper != NULL) && ((ret = c->cmd_helper()))) |
return (ret); |
return (ret); |
|
|
root = CVS_DIR_ROOT(cvs_files); |
root = CVS_DIR_ROOT(cvs_files); |
|
|
} |
} |
} |
} |
|
|
if (c->cmd_sendflags != NULL) |
if (c->cmd_sendflags != NULL) { |
c->cmd_sendflags(root); |
if ((ret = c->cmd_sendflags(root))) |
|
return (ret); |
|
} |
|
|
if (c->cmd_flags & CVS_CMD_NEEDLOG) { |
if (c->cmd_flags & CVS_CMD_NEEDLOG) { |
if (cvs_logmsg_send(root, cvs_msg) < 0) |
if (cvs_logmsg_send(root, cvs_msg) < 0) |