version 1.209, 2008/01/10 11:21:34 |
version 1.210, 2008/01/21 16:36:46 |
|
|
|
|
/* |
/* |
* If we do not have a admin directory inside here, dont bother, |
* If we do not have a admin directory inside here, dont bother, |
* unless we are running import. |
* unless we are running export, import, rlog or rtag. |
*/ |
*/ |
(void)xsnprintf(fpath, MAXPATHLEN, "%s/%s", cf->file_path, |
(void)xsnprintf(fpath, MAXPATHLEN, "%s/%s", cf->file_path, |
CVS_PATH_CVSDIR); |
CVS_PATH_CVSDIR); |
|
|
l = stat(fpath, &st); |
l = stat(fpath, &st); |
if (cvs_cmdop != CVS_OP_IMPORT && cvs_cmdop != CVS_OP_RLOG && |
if (cvs_cmdop != CVS_OP_EXPORT && cvs_cmdop != CVS_OP_IMPORT && |
cvs_cmdop != CVS_OP_RTAG && |
cvs_cmdop != CVS_OP_RLOG && cvs_cmdop != CVS_OP_RTAG && |
(l == -1 || (l == 0 && !S_ISDIR(st.st_mode)))) { |
(l == -1 || (l == 0 && !S_ISDIR(st.st_mode)))) { |
return; |
return; |
} |
} |