version 1.47, 2007/01/16 09:14:19 |
version 1.48, 2007/01/17 17:54:50 |
|
|
|
|
/* commands that might be supported */ |
/* commands that might be supported */ |
{ "ci", 0, cvs_server_commit, 0 }, |
{ "ci", 0, cvs_server_commit, 0 }, |
{ "co", 0, NULL, 0 }, |
{ "co", 0, cvs_server_checkout, 0 }, |
{ "update", 0, cvs_server_update, 0 }, |
{ "update", 0, cvs_server_update, 0 }, |
{ "diff", 0, cvs_server_diff, 0 }, |
{ "diff", 0, cvs_server_diff, 0 }, |
{ "log", 0, cvs_server_log, 0 }, |
{ "log", 0, cvs_server_log, 0 }, |
|
|
|
|
repo = xmalloc(MAXPATHLEN); |
repo = xmalloc(MAXPATHLEN); |
cvs_get_repository_path(".", repo, MAXPATHLEN); |
cvs_get_repository_path(".", repo, MAXPATHLEN); |
|
|
|
STRIP_SLASH(repo); |
|
|
if (strlen(repo) + 1 > strlen(rpath)) |
if (strlen(repo) + 1 > strlen(rpath)) |
fatal("received a repository path that is too short"); |
fatal("received a repository path that is too short"); |