version 1.233, 2008/03/09 03:06:56 |
version 1.234, 2008/03/09 03:14:52 |
|
|
cf->file_type = type; |
cf->file_type = type; |
cf->file_status = cf->file_flags = 0; |
cf->file_status = cf->file_flags = 0; |
cf->user_supplied = user_supplied; |
cf->user_supplied = user_supplied; |
|
cf->in_attic = 0; |
cf->file_ent = NULL; |
cf->file_ent = NULL; |
|
|
if (current_cvsroot->cr_method != CVS_METHOD_LOCAL || |
if (current_cvsroot->cr_method != CVS_METHOD_LOCAL || |
|
|
if (cvs_directory_tag == NULL && |
if (cvs_directory_tag == NULL && |
cvs_specified_tag != NULL) |
cvs_specified_tag != NULL) |
cvs_directory_tag = cvs_specified_tag; |
cvs_directory_tag = cvs_specified_tag; |
|
|
|
if (current_cvsroot->cr_method == |
|
CVS_METHOD_LOCAL) { |
|
cvs_get_repository_path(cf->file_wd, |
|
repo, MAXPATHLEN); |
|
cvs_repository_lock(repo, |
|
(cmdp->cmd_flags & CVS_LOCK_REPO)); |
|
} |
} |
} |
|
|
if (cr->fileproc != NULL) |
if (cr->fileproc != NULL) |
cr->fileproc(cf); |
cr->fileproc(cf); |
|
|
|
if (l->user_supplied && cmdp->cmd_flags & CVS_LOCK_REPO) |
|
cvs_repository_unlock(repo); |
} |
} |
|
|
cvs_file_free(cf); |
cvs_file_free(cf); |
|
|
cvs_ent_close(entlist, ENT_NOSYNC); |
cvs_ent_close(entlist, ENT_NOSYNC); |
|
|
walkrepo: |
walkrepo: |
if (cr->flags & CR_REPO) { |
if (current_cvsroot->cr_method == CVS_METHOD_LOCAL) { |
cvs_get_repository_path(cf->file_path, repo, MAXPATHLEN); |
cvs_get_repository_path(cf->file_path, repo, MAXPATHLEN); |
cvs_repository_lock(repo); |
cvs_repository_lock(repo, (cmdp->cmd_flags & CVS_LOCK_REPO)); |
|
} |
|
|
|
if (cr->flags & CR_REPO) { |
xsnprintf(fpath, sizeof(fpath), "%s/%s", cf->file_path, |
xsnprintf(fpath, sizeof(fpath), "%s/%s", cf->file_path, |
CVS_PATH_STATICENTRIES); |
CVS_PATH_STATICENTRIES); |
|
|
|
|
cvs_file_walklist(&fl, cr); |
cvs_file_walklist(&fl, cr); |
cvs_file_freelist(&fl); |
cvs_file_freelist(&fl); |
|
|
if (cr->flags & CR_REPO) |
if (current_cvsroot->cr_method == CVS_METHOD_LOCAL && |
|
(cmdp->cmd_flags & CVS_LOCK_REPO)) |
cvs_repository_unlock(repo); |
cvs_repository_unlock(repo); |
|
|
cvs_file_walklist(&dl, cr); |
cvs_file_walklist(&dl, cr); |