version 1.5, 2004/12/07 17:10:56 |
version 1.6, 2005/01/31 21:46:43 |
|
|
flags |= CVS_HF_O; /* use -o as default */ |
flags |= CVS_HF_O; /* use -o as default */ |
|
|
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) { |
snprintf(histpath, sizeof(histpath), "%s/%s", root->cr_dir, |
snprintf(histpath, sizeof(histpath), "%s/%s", root->cr_dir, |
CVS_PATH_HISTORY); |
CVS_PATH_HISTORY); |