summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/ci.c
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-16 23:30:46 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-16 23:30:46 +0000
commit47f2ad96649ad5ce5b72aef64a28f0b0e73440c6 (patch)
treeef0510e0fba2faa5686cf77889796e31d1811082 /usr.bin/rcs/ci.c
parent0d5fd1846c3ee867ce29620f76d3d1e6614a90d3 (diff)
- remove the lock even if we are just reverting to the previous
revision (like GNU RCS).
Diffstat (limited to 'usr.bin/rcs/ci.c')
-rw-r--r--usr.bin/rcs/ci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index 5ce29195f4b..a9f48a64c0c 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.39 2005/10/16 22:56:22 niallo Exp $ */
+/* $OpenBSD: ci.c,v 1.40 2005/10/16 23:30:45 niallo Exp $ */
/*
* Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -243,6 +243,7 @@ checkin_main(int argc, char **argv)
if (lkmode != 0)
checkout_rev(file, frev, argv[i], lkmode,
username);
+ rcs_lock_remove(file, frev);
rcs_close(file);
cvs_printf("done\n");
continue;