diff options
author | 2005-10-16 23:30:45 +0000 | |
---|---|---|
committer | 2005-10-16 23:30:45 +0000 | |
commit | 189739ff444ef919deaaf77260016588fbe247c3 (patch) | |
tree | d24e5337950c3cb779fe36641603025940ec8f8c | |
parent | - sync checkin_usage(); (diff) | |
download | wireguard-openbsd-189739ff444ef919deaaf77260016588fbe247c3.tar.xz wireguard-openbsd-189739ff444ef919deaaf77260016588fbe247c3.zip |
- remove the lock even if we are just reverting to the previous
revision (like GNU RCS).
-rw-r--r-- | usr.bin/rcs/ci.c | 3 |
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; |