version 1.157, 2009/02/21 14:50:53 |
version 1.158, 2009/03/21 11:16:28 |
|
|
if (cvs_server_active == 1 && !strcmp(cf->file_name, ".")) |
if (cvs_server_active == 1 && !strcmp(cf->file_name, ".")) |
return; |
return; |
|
|
|
entlist = cvs_ent_open(cf->file_path); |
|
if (!TAILQ_EMPTY(&(entlist->cef_ent))) { |
|
isempty = 0; |
|
goto prune_it; |
|
} |
|
|
if (fstat(cf->fd, &st) == -1) |
if (fstat(cf->fd, &st) == -1) |
fatal("cvs_update_leavedir: %s", strerror(errno)); |
fatal("cvs_update_leavedir: %s", strerror(errno)); |
|
|
|
|
continue; |
continue; |
} |
} |
|
|
if (!strcmp(dp->d_name, CVS_PATH_CVSDIR)) { |
if (strcmp(dp->d_name, CVS_PATH_CVSDIR)) |
entlist = cvs_ent_open(cf->file_path); |
|
if (!TAILQ_EMPTY(&(entlist->cef_ent))) |
|
isempty = 0; |
|
} else { |
|
isempty = 0; |
isempty = 0; |
} |
|
|
|
if (isempty == 0) |
if (isempty == 0) |
break; |
break; |
|
|
|
|
xfree(buf); |
xfree(buf); |
|
|
|
prune_it: |
if ((isempty == 1 && prune_dirs == 1) || |
if ((isempty == 1 && prune_dirs == 1) || |
(cvs_server_active == 1 && cvs_cmdop == CVS_OP_CHECKOUT)) { |
(cvs_server_active == 1 && cvs_cmdop == CVS_OP_CHECKOUT)) { |
/* XXX */ |
/* XXX */ |