version 1.25, 2007/05/02 16:26:50 |
version 1.26, 2017/06/01 08:08:24 |
|
|
if (argc > 1) |
if (argc > 1) |
fatal("version does not take any extra arguments"); |
fatal("version does not take any extra arguments"); |
|
|
if (current_cvsroot != NULL && |
if (current_cvsroot != NULL && cvsroot_is_remote()) |
current_cvsroot->cr_method != CVS_METHOD_LOCAL) |
|
cvs_printf("Client: "); |
cvs_printf("Client: "); |
|
|
cvs_printf("%s\n", CVS_VERSION); |
cvs_printf("%s\n", CVS_VERSION); |
|
|
if (current_cvsroot != NULL && |
if (current_cvsroot != NULL && cvsroot_is_remote()) { |
current_cvsroot->cr_method != CVS_METHOD_LOCAL) { |
|
cvs_client_connect_to_server(); |
cvs_client_connect_to_server(); |
cvs_client_send_request("version"); |
cvs_client_send_request("version"); |
/* XXX: better way to handle server response? */ |
/* XXX: better way to handle server response? */ |