CVS: cvs.openbsd.org: src

2020-06-09 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2020/06/09 14:05:40 Modified files: usr.bin/rcs: rcsprog.c Log message: Refuse to remove locked revisions with rcs -orange. Otherwise we could leave behind a lock for a revision that no longer exists,

CVS: cvs.openbsd.org: src

2019-01-09 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2019/01/09 11:00:45 Modified files: usr.bin/rcs: co.c Log message: Delay keyword expansion in co until after the locks have been resolved. This way the expansion can happen with the correct values and

CVS: cvs.openbsd.org: src

2019-01-09 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2019/01/09 10:57:06 Modified files: usr.bin/rcs: rcs.c Log message: When expanding $Log$ make sure a newline is added if rd_log has none. This can happen on new RCS files. Fixes $Log$ keyword

CVS: cvs.openbsd.org: src

2019-01-09 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2019/01/09 10:55:28 Modified files: usr.bin/rcs: rcs.c Log message: Make sure rcs_lock_add() and rcs_lock_remove() properly update the rd_lock member of the matching delta. Other keyword substitution

CVS: cvs.openbsd.org: src

2018-07-14 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2018/07/14 15:28:02 Modified files: usr.bin/cvs: client.c Log message: don't run cvs_client_sendfile() if its file_type is CVS_DIR, but do not depend on it being CVS_FILE explicitly. unbreaks remote

CVS: cvs.openbsd.org: src

2017-06-01 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/06/01 02:38:56 Modified files: usr.bin/cvs: file.c Log message: If CVS_LOCK_REPO is set only attempt to unlock the repo if we're local. Otherwise we end up calling cvs_repository_unlock() with

CVS: cvs.openbsd.org: src

2017-06-01 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/06/01 02:17:27 Modified files: usr.bin/cvs: client.c Log message: Don't look at file_type until after cvs_remote_classify_file() was called. The file status may be unknown until after that call.

CVS: cvs.openbsd.org: src

2017-06-01 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/06/01 02:08:24 Modified files: usr.bin/cvs: add.c admin.c annotate.c checkout.c commit.c cvs.c cvs.h diff.c edit.c file.c getlog.c import.c init.c

CVS: cvs.openbsd.org: src

2017-05-31 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/05/31 10:48:16 Modified files: usr.bin/cvs: commit.c Log message: Do not use CVS_LOCK_REPO for committing. This flag tells our file recursion code that for each directory entered we should lock

CVS: cvs.openbsd.org: src

2017-05-31 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/05/31 10:31:55 Modified files: usr.bin/cvs: rcs.c Log message: Plug memleak in rcs_translate_tag() that was causing havoc on large repos.

CVS: cvs.openbsd.org: src

2017-05-31 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/05/31 10:18:20 Modified files: usr.bin/cvs: repository.c Log message: When unlocking a directory only unlock the given one rather then all repo_locks.

CVS: cvs.openbsd.org: src

2017-05-31 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/05/31 10:14:37 Modified files: usr.bin/cvs: annotate.c Log message: fix indentation

CVS: cvs.openbsd.org: src

2017-05-31 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/05/31 10:13:25 Modified files: usr.bin/cvs: tag.c Log message: Fix opencvs tag so it does not attempt to to local operations in a remote setup. While here make sure the "up-to-date" check (-c)

CVS: cvs.openbsd.org: src

2017-05-29 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/05/29 11:18:56 Modified files: usr.bin/cvs: file.c update.c Log message: cvs_file_classify() was making the mistake of only taking over a sticky tag from Entries for a given file if the sticky tag

CVS: cvs.openbsd.org: src

2017-05-28 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/05/28 11:11:34 Modified files: usr.bin/cvs: cvs.h file.c import.c Log message: Let opencvs show ignored files on import, not showing them is just confusing. ok stsp@

CVS: cvs.openbsd.org: src

2017-05-28 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/05/28 11:01:10 Modified files: usr.bin/cvs: commit.c Log message: Don't allow opencvs to commit towards tags that are not branches. Gets rid of the old logic that wasn't working and replaced it

CVS: cvs.openbsd.org: src

2017-05-28 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/05/28 10:58:54 Modified files: usr.bin/cvs: status.c Log message: Teach opencvs status to display the sticky tag according to what it really represents if it is a branch or a revision. ok stsp@

CVS: cvs.openbsd.org: src

2017-05-28 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/05/28 10:57:01 Modified files: usr.bin/cvs: logmsg.c Log message: Bring the opencvs log message template inline with other cvs implementations. ok stsp@

CVS: cvs.openbsd.org: src

2017-01-23 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2017/01/23 01:19:49 Modified files: usr.bin: Makefile Log message: Relink opencvs to the build. sure deraadt@

CVS: cvs.openbsd.org: src

2016-11-03 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2016/11/03 14:13:41 Modified files: usr.bin/cvs: status.c Log message: Don't use ce_time if we are running as a server, it won't be present.

CVS: cvs.openbsd.org: src

2016-10-27 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2016/10/27 01:12:02 Modified files: usr.bin/cvs: tag.c Log message: minor whitespace fixes.

CVS: cvs.openbsd.org: src

2016-10-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2016/10/21 15:47:03 Modified files: sys/dev/acpi : dsdt.c Log message: Add support for the ACPI timer opcode. ok kettenis@

CVS: cvs.openbsd.org: src

2016-10-18 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2016/10/18 11:11:43 Modified files: usr.bin/cvs: status.c Log message: Add the branch revision to the status output much like GNU cvs does. OK millert@

CVS: cvs.openbsd.org: src

2009-04-10 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/04/10 05:26:10 Modified files: usr.bin/cvs: server.c Log message: with the recent module-expand changes, we need to use the correct repository path in Set-sticky and Clear-sticky otherwise we'll

CVS: cvs.openbsd.org: src

2009-04-07 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/04/07 15:27:45 Modified files: usr.bin/cvs: remote.c Log message: do not try to send a added file that is no longer on disk towards the server. problem spotted and diff tested by sthen@

CVS: cvs.openbsd.org: src

2009-04-06 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/04/06 00:45:56 Modified files: usr.bin/cvs: checkout.c Log message: make sure we handle allowed options in cvs_export() instead of ignoring them, even if they are just stubs. unbreaks export with

CVS: cvs.openbsd.org: src

2009-04-04 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/04/04 05:29:57 Modified files: usr.bin/cvs: client.c remote.h server.c Log message: properly expand modules if requested by the client, this option is needed so gnu cvs clients can play along

CVS: cvs.openbsd.org: src

2009-04-04 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/04/04 05:32:48 Modified files: usr.bin/cvs: server.c Log message: don't try to free stuff we shouldnt free, really.

CVS: cvs.openbsd.org: src

2009-04-03 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/04/03 02:18:44 Modified files: usr.bin/cvs: diff.c Log message: my last commit to diff.c broke diffing in some cases, noticed the hard way here at work. commiting with opencvs, permission by

CVS: cvs.openbsd.org: src

2009-04-02 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/04/02 03:09:40 Modified files: usr.bin/cvs: diff.c Log message: make sure diffing -rTAG -rTAG works even if files are uptodate commited with opencvs, with permission by deraadt@

CVS: cvs.openbsd.org: src

2009-04-02 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/04/02 15:13:50 Modified files: usr.bin/cvs: diff.c Log message: properly deal with uptodate files server-side, as they do not have a file on disk we'll need to load the revision into a temporary

CVS: cvs.openbsd.org: src

2009-04-01 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/04/01 00:41:58 Modified files: usr.bin/cvs: client.c remote.c Log message: in client mode, be sure to consider the file modified if a conflict exists in the CVS/Entries file, otherwise the server

CVS: cvs.openbsd.org: src

2009-03-30 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/30 15:45:33 Modified files: usr.bin/cvs: rcs.c Log message: kill rp_lines, we do not need it when parsing an RCS file. incendently, commit made using opencvs entirely. with permission from

CVS: cvs.openbsd.org: src

2009-03-29 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/29 13:17:26 Modified files: usr.bin/cvs: modules.c Log message: printf() - cvs_printf() so it works under server mode as well spotted by Jonathan Armani d...@asystant.net

CVS: cvs.openbsd.org: src

2009-03-28 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/28 10:47:33 Modified files: usr.bin/cvs: file.c Log message: when i fixed to attic handling i forgot one special case that we'd hit in normal checkouts/updates for duplicate file and dirs.

CVS: cvs.openbsd.org: src

2009-03-27 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/27 01:28:57 Modified files: usr.bin/cvs: checkout.c Log message: make sure that when we try to send a Set-sticky to the client, we only do so if the file we're checking out was not supplied on

CVS: cvs.openbsd.org: src

2009-03-26 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/26 16:54:37 Modified files: usr.bin/cvs: commit.c file.c file.h modules.c repository.c Log message: fix the way Attic is handled in our recursion code, so we do not skip files or run over them

CVS: cvs.openbsd.org: src

2009-03-25 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/25 03:47:27 Modified files: usr.bin/cvs: cvs.1 Log message: -q hasnt been the default verbosity mode in ages.

CVS: cvs.openbsd.org: src

2009-03-25 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/25 15:19:20 Modified files: usr.bin/cvs: buf.c buf.h cvs.h init.c rcs.h Log message: remove unused functions, definitions and outdated comments from the stone ages.

CVS: cvs.openbsd.org: src

2009-03-25 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/25 15:23:17 Modified files: usr.bin/cvs: rcs.c Log message: prevent a very difficult to reach, but possible use after free. ok tobias@

CVS: cvs.openbsd.org: src

2009-03-25 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/25 15:50:33 Modified files: usr.bin/cvs: checkout.c commit.c file.c file.h logmsg.c modules.c Log message: switch our file and directory lists to RB trees (see

CVS: cvs.openbsd.org: src

2009-03-24 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/24 12:33:25 Modified files: usr.bin/cvs: tag.c file.c Log message: have CVS_OP_TAG and CVS_OP_RTAG use RCS_WRITE flag when calling rcs_open(), so it gets automaticly synced at the end of

CVS: cvs.openbsd.org: src

2009-03-23 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/23 01:28:05 Modified files: usr.bin/cvs: diff.c Log message: any directory messages are, believe it or not, suppose to go to LP_ERR instead of LP_NOTICE, while here modify output for

CVS: cvs.openbsd.org: src

2009-03-23 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/23 01:40:30 Modified files: usr.bin/cvs: update.c Log message: LP_NOTICE should be LP_ERR when showing directory messages.

CVS: cvs.openbsd.org: src

2009-03-23 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/23 09:10:09 Modified files: usr.bin/cvs: getlog.c Log message: add rlog -d support, ported from openrcs by Josh Elsasser j...@elsasser.org

CVS: cvs.openbsd.org: src

2009-03-23 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/23 09:13:58 Modified files: usr.bin/cvs: getlog.c Log message: remove debug, bleh

CVS: cvs.openbsd.org: src

2009-03-23 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/23 11:53:17 Modified files: usr.bin/cvs: init.h Log message: simplify

CVS: cvs.openbsd.org: src

2009-03-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/21 05:16:28 Modified files: usr.bin/cvs: update.c Log message: be smarter when checking if a directory is empty by looking at CVS/Entries early on in cvs_update_leavedir()

CVS: cvs.openbsd.org: src

2009-03-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/21 09:33:22 Modified files: usr.bin/cvs: status.c Log message: use file_rcsrev when printing out Repository revision so we always receive the correct revision number instead of HEAD, otherwise

CVS: cvs.openbsd.org: src

2009-03-19 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/19 03:55:19 Modified files: usr.bin/cvs: trigger.c Log message: only pass the real $var to expand_vars() instead of the entire line, this way commitinfo and stuff works again. found by myself

CVS: cvs.openbsd.org: src

2009-03-19 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/19 03:56:03 Modified files: usr.bin/cvs: server.c Log message: kill unused vars

CVS: cvs.openbsd.org: src

2009-03-19 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/19 04:09:16 Modified files: usr.bin/cvs: diff.c Log message: do not diff files server-side that are uptodate but require a patch, as the client does not provide these files at all because they

CVS: cvs.openbsd.org: src

2009-03-18 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/03/18 03:14:09 Modified files: usr.bin/cvs: checkout.c Log message: be carefull when trying to access cf-file_rcs in cvs_checkout_file() as it could be NULL under certain conditions.

CVS: cvs.openbsd.org: src

2009-02-23 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/23 14:33:12 Modified files: usr.bin/cvs: util.c Log message: unused var

CVS: cvs.openbsd.org: src

2009-02-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/21 05:47:19 Modified files: usr.bin/cvs: file.c file.h status.c Log message: alter cvs_file_get() so it takes flags instead of one set value for user_supplied. allow us to carry any important

CVS: cvs.openbsd.org: src

2009-02-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/21 05:52:47 Modified files: usr.bin/cvs: cvs.h root.c Log message: cleanup of CVSROOT, we have no need for cr_flags, cr_version or cr_vrmask[] its all very old stuff. remove all macros using

CVS: cvs.openbsd.org: src

2009-02-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/21 06:39:01 Modified files: usr.bin/cvs: server.c Log message: correct Set-sticky and Clear-sticky responses to include the right repository path. we messed up some cvs implementations by doing

CVS: cvs.openbsd.org: src

2009-02-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/21 06:39:59 Modified files: usr.bin/cvs: util.c Log message: in cvs_mkpath() always look for an existing CVS/Repository file unless we're running checkout or export. otherwise we'll end up

CVS: cvs.openbsd.org: src

2009-02-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/21 06:44:18 Modified files: usr.bin/cvs: checkout.c file.c file.h repository.c repository.h Log message: use file_flags for 2 more reasons: - mark a file as being

CVS: cvs.openbsd.org: src

2009-02-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/21 07:11:08 Modified files: usr.bin/cvs: cvs.h Log message: bump to match release version

CVS: cvs.openbsd.org: src

2009-02-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/21 07:50:53 Modified files: usr.bin/cvs: add.c checkout.c client.c diff.c file.c remote.c remove.c status.c update.c Log message: use FILE_ON_DISK flags when we need to

CVS: cvs.openbsd.org: src

2009-02-21 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/21 11:26:47 Modified files: usr.bin/cvs: file.c Log message: fix grammar from dawed...@gmx.de

CVS: cvs.openbsd.org: src

2009-02-18 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/18 13:08:24 Modified files: usr.bin/cvs: rcs.c Log message: fix off by one character when constructing $Mdocdate$. problem found by todd@, ok sthen@

CVS: cvs.openbsd.org: src

2009-02-15 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/15 05:58:01 Modified files: usr.bin/rcs: rcsprog.c Log message: bump version to match next release

CVS: cvs.openbsd.org: src

2009-02-15 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/15 05:55:18 Modified files: usr.bin/rcs: rlog.c Log message: support rlog -d prodded tested by sthen@

CVS: cvs.openbsd.org: src

2009-02-15 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/15 06:40:33 Modified files: usr.bin/rcs: rcs.c usr.bin/cvs: rcs.c Log message: add our temporary RCS file to our temp_files worklist in case for some reason we get interrupted

CVS: cvs.openbsd.org: src

2009-02-13 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/02/13 13:50:15 Modified files: usr.bin/cvs: client.c Log message: be more sane in handling the given repository path in cvs_client_updated().

CVS: cvs.openbsd.org: src

2009-01-13 Thread Joris Vink
CVSROOT:/cvs Module name:src Changes by: jo...@cvs.openbsd.org 2009/01/13 17:23:30 Modified files: usr.bin/cvs: status.c Log message: fix printing status on removed files by default; slighty different diff applied then what the bug author provided us. thanks