=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/ci.c,v retrieving revision 1.136 retrieving revision 1.137 diff -c -r1.136 -r1.137 *** src/usr.bin/rcs/ci.c 2006/04/06 10:13:00 1.136 --- src/usr.bin/rcs/ci.c 2006/04/09 19:22:23 1.137 *************** *** 1,4 **** ! /* $OpenBSD: ci.c,v 1.136 2006/04/06 10:13:00 xsa Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: ci.c,v 1.137 2006/04/09 19:22:23 niallo Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins * All rights reserved. *************** *** 819,824 **** --- 819,825 ---- cvs_log(LP_WARN, "file is unchanged; reverting to previous revision %s", rbuf); + pb->flags |= CO_REVERT; (void)unlink(pb->filename); if ((pb->flags & CO_LOCK) || (pb->flags & CO_UNLOCK)) checkout_rev(pb->file, pb->frev, pb->filename,