diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-12-23 00:59:57 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-12-23 00:59:57 +0000 |
commit | 08cda27e4fa7887e2fa64d42ad31892c56021f05 (patch) | |
tree | 15d090e32aba24c4c9bf9dc42b36cf35a7e3d412 /usr.bin/rcs/ci.c | |
parent | 4ae45c6d099b0ff51f45cf1c01f1d24c8e11ffc0 (diff) |
support co -d, which checks out the first revision who's
date is less than or equal to the given date.
Diffstat (limited to 'usr.bin/rcs/ci.c')
-rw-r--r-- | usr.bin/rcs/ci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index fd9b9eaa3da..03acfbfaef1 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.88 2005/12/21 19:59:58 alek Exp $ */ +/* $OpenBSD: ci.c,v 1.89 2005/12/23 00:59:55 joris Exp $ */ /* * Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -530,7 +530,7 @@ checkin_update(struct checkin_params *pb) if (((pb->flags & CO_LOCK) || (pb->flags & CO_UNLOCK)) && !(pb->flags & CI_DEFAULT)) checkout_rev(pb->file, pb->newrev, pb->filename, pb->flags, - pb->username, pb->author, NULL); + pb->username, pb->author, NULL, NULL); /* File will NOW be synced */ rcs_close(pb->file); @@ -626,7 +626,7 @@ checkin_init(struct checkin_params *pb) if (((pb->flags & CO_LOCK) || (pb->flags & CO_UNLOCK)) && !(pb->flags & CI_DEFAULT)) checkout_rev(pb->file, pb->newrev, pb->filename, pb->flags, - pb->username, pb->author, NULL); + pb->username, pb->author, NULL, NULL); /* File will NOW be synced */ rcs_close(pb->file); @@ -686,7 +686,7 @@ checkin_revert(struct checkin_params *pb) (void)unlink(pb->filename); if ((pb->flags & CO_LOCK) || (pb->flags & CO_UNLOCK)) checkout_rev(pb->file, pb->frev, pb->filename, - pb->flags, pb->username, pb->author, NULL); + pb->flags, pb->username, pb->author, NULL, NULL); rcs_lock_remove(pb->file, pb->username, pb->frev); rcs_close(pb->file); if (verbose == 1) |