version 1.19, 2006/01/02 08:11:56 |
version 1.20, 2006/04/14 02:45:35 |
|
|
static int |
static int |
cvs_version_pre_exec(struct cvsroot *root) |
cvs_version_pre_exec(struct cvsroot *root) |
{ |
{ |
if ((root != NULL) && (root->cr_method != CVS_METHOD_LOCAL)) |
if (root != NULL && root->cr_method != CVS_METHOD_LOCAL) |
printf("Client: "); |
printf("Client: "); |
cvs_printf("%s\n", CVS_VERSION); |
cvs_printf("%s\n", CVS_VERSION); |
|
|
if ((root != NULL) && (root->cr_method != CVS_METHOD_LOCAL)) { |
if (root != NULL && root->cr_method != CVS_METHOD_LOCAL) { |
cvs_printf("Server: %s\n", root->cr_version == NULL ? |
cvs_printf("Server: %s\n", root->cr_version == NULL ? |
"(unknown)" : root->cr_version); |
"(unknown)" : root->cr_version); |
} |
} |