summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-11-13 11:04:20 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-11-13 11:04:20 +0000
commit777f4fcd5914fc4a60744bb6b7281e1556387e81 (patch)
tree561b4b9103715a4d77bd6f83261d61dcc29bf98b
parent7e13fc6b8da61e0b4a944f6bd340287628b9f13e (diff)
Write rcs file when finished.
-rw-r--r--usr.bin/cvs/admin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/admin.c b/usr.bin/cvs/admin.c
index 6fdb0ec59a7..d1f6c529cfd 100644
--- a/usr.bin/cvs/admin.c
+++ b/usr.bin/cvs/admin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: admin.c,v 1.36 2006/11/13 10:42:28 xsa Exp $ */
+/* $OpenBSD: admin.c,v 1.37 2006/11/13 11:04:19 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
@@ -250,6 +250,8 @@ cvs_admin_local(struct cvs_file *cf)
if (lkmode != RCS_LOCK_INVAL)
(void)rcs_lock_setmode(cf->file_rcs, lkmode);
+ rcs_write(cf->file_rcs);
+
if (verbosity > 0)
cvs_printf("done\n");
}