version 1.77, 2008/06/14 02:43:47 |
version 1.78, 2008/06/14 03:19:15 |
|
|
case FILE_REMOVE_ENTRY: |
case FILE_REMOVE_ENTRY: |
entlist = cvs_ent_open(cf->file_wd); |
entlist = cvs_ent_open(cf->file_wd); |
cvs_ent_remove(entlist, cf->file_name); |
cvs_ent_remove(entlist, cf->file_name); |
cvs_ent_close(entlist, ENT_SYNC); |
|
|
|
(void)xsnprintf(buf, sizeof(buf), "%s/%s/%s%s", |
(void)xsnprintf(buf, sizeof(buf), "%s/%s/%s%s", |
cf->file_wd, CVS_PATH_CVSDIR, cf->file_name, |
cf->file_wd, CVS_PATH_CVSDIR, cf->file_name, |
|
|
} else { |
} else { |
entlist = cvs_ent_open(cf->file_wd); |
entlist = cvs_ent_open(cf->file_wd); |
cvs_ent_add(entlist, entry); |
cvs_ent_add(entlist, entry); |
cvs_ent_close(entlist, ENT_SYNC); |
|
} |
} |
|
|
xfree(entry); |
xfree(entry); |