version 1.107, 2005/07/29 00:33:55 |
version 1.108, 2005/07/29 13:56:00 |
|
|
* Load the information. |
* Load the information. |
*/ |
*/ |
cf = cvs_file_loadinfo(pcopy, flags, cb, arg, freecf); |
cf = cvs_file_loadinfo(pcopy, flags, cb, arg, freecf); |
if (cf == NULL) |
if (cf == NULL) { |
|
if (cvs_error != CVS_EX_OK) |
|
break; |
continue; |
continue; |
|
} |
|
|
/* |
/* |
* If extra actions are needed, do them now. |
* If extra actions are needed, do them now. |
|
|
if (base == NULL) { |
if (base == NULL) { |
cvs_log(LP_ERR, "failed to obtain directory info for '%s'", |
cvs_log(LP_ERR, "failed to obtain directory info for '%s'", |
parent); |
parent); |
|
cvs_error = CVS_EX_FILE; |
goto fail; |
goto fail; |
} |
} |
|
|
|
|
|
|
root = CVS_DIR_ROOT(base); |
root = CVS_DIR_ROOT(base); |
if (root == NULL) { |
if (root == NULL) { |
cvs_log(LP_ERR, "no Root in base directory found"); |
cvs_error = CVS_EX_BADROOT; |
goto fail; |
goto fail; |
} |
} |
|
|
|
|
if (type != DT_DIR) { |
if (type != DT_DIR) { |
cf = cvs_file_lget(path, flags, base, ent); |
cf = cvs_file_lget(path, flags, base, ent); |
if (cf == NULL) { |
if (cf == NULL) { |
cvs_log(LP_ERR, "failed to fetch '%s'", path); |
cvs_error = CVS_EX_DATA; |
goto fail; |
goto fail; |
} |
} |
|
|
|
|
*/ |
*/ |
if ((base->cf_flags & CVS_FILE_ONDISK) && |
if ((base->cf_flags & CVS_FILE_ONDISK) && |
cvs_file_getdir(base, flags, cb, arg, freecf) < 0) { |
cvs_file_getdir(base, flags, cb, arg, freecf) < 0) { |
cvs_log(LP_ERR, "cvs_file_getdir failed"); |
cvs_error = CVS_EX_FILE; |
goto fail; |
goto fail; |
} |
} |
} |
} |