version 1.8, 2004/12/07 17:10:56 |
version 1.9, 2005/01/05 18:34:01 |
|
|
return (EX_USAGE); |
return (EX_USAGE); |
|
|
root = cvsroot_get("."); |
root = cvsroot_get("."); |
|
if (root == NULL) { |
|
cvs_log(LP_ERR, |
|
"No CVSROOT specified! Please use the `-d' option"); |
|
cvs_log(LP_ERR, |
|
"or set the CVSROOT environment variable."); |
|
return (EX_USAGE); |
|
} |
|
|
if (root->cr_method != CVS_METHOD_LOCAL) { |
if (root->cr_method != CVS_METHOD_LOCAL) { |
if (cvs_connect(root) < 0) |
if (cvs_connect(root) < 0) |
return (EX_DATAERR); |
return (EX_DATAERR); |