Return to root.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.44, 2007/10/05 19:28:23 | version 1.45, 2008/06/20 23:00:13 | ||
---|---|---|---|
|
|
||
if (cvs_server_active == 1) | if (cvs_server_active == 1) | ||
return cvsroot_parse(dir); | return cvsroot_parse(dir); | ||
if (cvs_cmdop == CVS_OP_IMPORT) | |||
return NULL; | |||
(void)xsnprintf(rootpath, MAXPATHLEN, "%s/%s", dir, CVS_PATH_ROOTSPEC); | (void)xsnprintf(rootpath, MAXPATHLEN, "%s/%s", dir, CVS_PATH_ROOTSPEC); | ||
if ((fp = fopen(rootpath, "r")) == NULL) { | if ((fp = fopen(rootpath, "r")) == NULL) { |