=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/resp.c,v retrieving revision 1.29 retrieving revision 1.30 diff -c -r1.29 -r1.30 *** src/usr.bin/cvs/Attic/resp.c 2005/04/19 16:57:07 1.29 --- src/usr.bin/cvs/Attic/resp.c 2005/04/20 15:50:54 1.30 *************** *** 1,4 **** ! /* $OpenBSD: resp.c,v 1.29 2005/04/19 16:57:07 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: resp.c,v 1.30 2005/04/20 15:50:54 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 611,619 **** if ((type == CVS_RESP_UPDEXIST) || (type == CVS_RESP_UPDATED) || (type == CVS_RESP_MERGED) || (type == CVS_RESP_CREATED)) { ! if (cvs_ent_remove(entfile, ep->ce_name) < 0) ! cvs_log(LP_WARN, "failed to remove entry for `%s'", ep->ce_name); } if (cvs_ent_add(entfile, ep) < 0) { --- 611,621 ---- if ((type == CVS_RESP_UPDEXIST) || (type == CVS_RESP_UPDATED) || (type == CVS_RESP_MERGED) || (type == CVS_RESP_CREATED)) { ! if ((cvs_ent_remove(entfile, ep->ce_name) < 0) && ! (type != CVS_RESP_CREATED)) { ! cvs_log(LP_WARN, "failed to remove entry for '%s`", ep->ce_name); + } } if (cvs_ent_add(entfile, ep) < 0) {