=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/commit.c,v retrieving revision 1.84 retrieving revision 1.85 diff -u -r1.84 -r1.85 --- src/usr.bin/cvs/commit.c 2007/01/03 20:48:26 1.84 +++ src/usr.bin/cvs/commit.c 2007/01/03 22:28:30 1.85 @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.84 2007/01/03 20:48:26 joris Exp $ */ +/* $OpenBSD: commit.c,v 1.85 2007/01/03 22:28:30 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * Copyright (c) 2006 Xavier Santolaria @@ -358,6 +358,9 @@ xfree(repo); xfree(attic); + + if (cvs_server_active == 1) + cvs_server_update_entry("Remove-entry", cf); } if (verbosity > 1) @@ -365,20 +368,6 @@ else { cvs_log(LP_NOTICE, "checking in '%s'; revision %s -> %s", cf->file_path, rbuf, nbuf); - } - - if (cvs_server_active == 1) { - if ((p = strrchr(cf->file_rpath, ',')) != NULL) - *p = '\0'; - - if (cf->file_status == FILE_REMOVED) { - cvs_server_send_response("Remove-entry %s/", - cf->file_wd); - cvs_remote_output(cf->file_rpath); - } - - if (p != NULL) - *p = ','; } }