version 1.61, 2007/05/17 03:26:33 |
version 1.62, 2007/05/25 22:36:47 |
|
|
char *sp, *ep; |
char *sp, *ep; |
struct cvs_req *req; |
struct cvs_req *req; |
|
|
sp = data; |
if ((sp = data) == NULL) |
|
fatal("Missing argument for Valid-requests"); |
|
|
do { |
do { |
if ((ep = strchr(sp, ' ')) != NULL) |
if ((ep = strchr(sp, ' ')) != NULL) |
*ep = '\0'; |
*ep = '\0'; |
|
|
void |
void |
cvs_client_e(char *data) |
cvs_client_e(char *data) |
{ |
{ |
|
if (data == NULL) |
|
fatal("Missing argument for E"); |
|
|
cvs_printf("%s\n", data); |
cvs_printf("%s\n", data); |
} |
} |
|
|
void |
void |
cvs_client_m(char *data) |
cvs_client_m(char *data) |
{ |
{ |
|
if (data == NULL) |
|
fatal("Missing argument for M"); |
|
|
cvs_printf("%s\n", data); |
cvs_printf("%s\n", data); |
} |
} |
|
|
|
|
char *dir, *e, entry[CVS_ENT_MAXLINELEN], rev[16], timebuf[64]; |
char *dir, *e, entry[CVS_ENT_MAXLINELEN], rev[16], timebuf[64]; |
char sticky[16]; |
char sticky[16]; |
|
|
|
if (data == NULL) |
|
fatal("Missing argument for Checked-in"); |
|
|
dir = cvs_remote_input(); |
dir = cvs_remote_input(); |
e = cvs_remote_input(); |
e = cvs_remote_input(); |
xfree(dir); |
xfree(dir); |
|
|
char timebuf[32], repo[MAXPATHLEN], *rpath, entry[CVS_ENT_MAXLINELEN]; |
char timebuf[32], repo[MAXPATHLEN], *rpath, entry[CVS_ENT_MAXLINELEN]; |
char *en, *mode, revbuf[32], *len, *fpath, *wdir; |
char *en, *mode, revbuf[32], *len, *fpath, *wdir; |
|
|
|
if (data == NULL) |
|
fatal("Missing argument for Updated"); |
|
|
client_check_directory(data); |
client_check_directory(data); |
|
|
rpath = cvs_remote_input(); |
rpath = cvs_remote_input(); |
|
|
char timebuf[32], *repo, *rpath, *entry, *mode; |
char timebuf[32], *repo, *rpath, *entry, *mode; |
char *len, *fpath, *wdir; |
char *len, *fpath, *wdir; |
|
|
|
if (data == NULL) |
|
fatal("Missing argument for Merged"); |
|
|
client_check_directory(data); |
client_check_directory(data); |
|
|
rpath = cvs_remote_input(); |
rpath = cvs_remote_input(); |
|
|
CVSENTRIES *entlist; |
CVSENTRIES *entlist; |
char *filename, *rpath; |
char *filename, *rpath; |
|
|
|
if (data == NULL) |
|
fatal("Missing argument for Remove-entry"); |
|
|
rpath = cvs_remote_input(); |
rpath = cvs_remote_input(); |
if ((filename = strrchr(rpath, '/')) == NULL) |
if ((filename = strrchr(rpath, '/')) == NULL) |
fatal("bad rpath in cvs_client_remove_entry: %s", rpath); |
fatal("bad rpath in cvs_client_remove_entry: %s", rpath); |
|
|
if (cvs_cmdop == CVS_OP_EXPORT) |
if (cvs_cmdop == CVS_OP_EXPORT) |
return; |
return; |
|
|
|
if (data == NULL) |
|
fatal("Missing argument for Set-static-directory"); |
|
|
STRIP_SLASH(data); |
STRIP_SLASH(data); |
|
|
dir = cvs_remote_input(); |
dir = cvs_remote_input(); |
|
|
if (cvs_cmdop == CVS_OP_EXPORT) |
if (cvs_cmdop == CVS_OP_EXPORT) |
return; |
return; |
|
|
|
if (data == NULL) |
|
fatal("Missing argument for Clear-static-directory"); |
|
|
STRIP_SLASH(data); |
STRIP_SLASH(data); |
|
|
dir = cvs_remote_input(); |
dir = cvs_remote_input(); |
|
|
if (cvs_cmdop == CVS_OP_EXPORT) |
if (cvs_cmdop == CVS_OP_EXPORT) |
return; |
return; |
|
|
|
if (data == NULL) |
|
fatal("Missing argument for Set-sticky"); |
|
|
STRIP_SLASH(data); |
STRIP_SLASH(data); |
|
|
dir = cvs_remote_input(); |
dir = cvs_remote_input(); |
|
|
|
|
if (cvs_cmdop == CVS_OP_EXPORT) |
if (cvs_cmdop == CVS_OP_EXPORT) |
return; |
return; |
|
|
|
if (data == NULL) |
|
fatal("Missing argument for Clear-sticky"); |
|
|
STRIP_SLASH(data); |
STRIP_SLASH(data); |
|
|