Up to [local] / src / usr.bin / cvs
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.160 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:00 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
HEAD
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored) to selected 1.126 (colored)
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Revision 1.159 / (download) - annotate - [select for diffs], Sun Dec 30 23:09:58 2018 UTC (5 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.158: +1 -2 lines
Diff to previous 1.158 (colored) to selected 1.126 (colored)
Delete unnecessary <libgen.h> #includes ok deraadt@
Revision 1.158 / (download) - annotate - [select for diffs], Thu Jun 1 08:08:24 2017 UTC (7 years ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.157: +4 -4 lines
Diff to previous 1.157 (colored) to selected 1.126 (colored)
Stop looking at current_cvsroot->cr_method to figure out if we're remote or not. Instead use cvsroot_is_local() and cvsroot_is_remote().
Revision 1.157 / (download) - annotate - [select for diffs], Wed May 31 16:48:16 2017 UTC (7 years ago) by joris
Branch: MAIN
Changes since 1.156: +2 -2 lines
Diff to previous 1.156 (colored) to selected 1.126 (colored)
Do not use CVS_LOCK_REPO for committing. This flag tells our file recursion code that for each directory entered we should lock it. Commit however locks all relevant directories on its own when it is about to make changes and should not depend on the file recursion code to do so.
Revision 1.156 / (download) - annotate - [select for diffs], Sun May 28 17:01:10 2017 UTC (7 years ago) by joris
Branch: MAIN
Changes since 1.155: +7 -43 lines
Diff to previous 1.155 (colored) to selected 1.126 (colored)
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 with a simplified version. ok stsp@
Revision 1.155 / (download) - annotate - [select for diffs], Thu Oct 13 20:51:25 2016 UTC (7 years, 7 months ago) by fcambus
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.154: +16 -20 lines
Diff to previous 1.154 (colored) to selected 1.126 (colored)
rcsnum_free() -> free() cleanups. From Michael W. Bombardieri. OK millert@
Revision 1.154 / (download) - annotate - [select for diffs], Thu Nov 5 09:48:21 2015 UTC (8 years, 7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.153: +10 -12 lines
Diff to previous 1.153 (colored) to selected 1.126 (colored)
Remove xfree(), like already done for RCS. From Michael W Bombardieri, ok mmcc
Revision 1.153 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:07 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.152: +13 -13 lines
Diff to previous 1.152 (colored) to selected 1.126 (colored)
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
Revision 1.152 / (download) - annotate - [select for diffs], Tue Dec 27 13:59:01 2011 UTC (12 years, 5 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1
Changes since 1.151: +3 -2 lines
Diff to previous 1.151 (colored) to selected 1.126 (colored)
Move some global variables/statics to locals, from Michael W Bombardieri.
Revision 1.151 / (download) - annotate - [select for diffs], Wed Apr 20 18:41:40 2011 UTC (13 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0
Changes since 1.150: +9 -15 lines
Diff to previous 1.150 (colored) to selected 1.126 (colored)
Trivial code simplifying, from Michael W Bombardieri.
Revision 1.150 / (download) - annotate - [select for diffs], Fri Jul 23 21:46:05 2010 UTC (13 years, 10 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.149: +30 -30 lines
Diff to previous 1.149 (colored) to selected 1.126 (colored)
Reduce variable/function name and whitespace differences between cvs/rcs. OK xsa zinovik
Revision 1.149 / (download) - annotate - [select for diffs], Sun Jun 7 08:39:13 2009 UTC (15 years ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6
Changes since 1.148: +2 -2 lines
Diff to previous 1.148 (colored) to selected 1.126 (colored)
More cvs/diff/rcs convergence: 1. Mostly variable/function renaming, SIZE_T_MAX->SIZE_MAX, and spacing. 2. One strchr -> strncspn. 3. diff had a weird thing where it set file[12] = ofile[12] but never updated file or ofile, then if file and ofile were different it freed it. I removed it. OK millert
Revision 1.148 / (download) - annotate - [select for diffs], Sat Jun 6 14:17:27 2009 UTC (15 years ago) by ray
Branch: MAIN
Changes since 1.147: +2 -2 lines
Diff to previous 1.147 (colored) to selected 1.126 (colored)
Sync some rcsdiff changes to cvsdiff. As a side effect, cvs diff -t now works. There should be no functional change otherwise. OK millert
Revision 1.147 / (download) - annotate - [select for diffs], Thu Mar 26 22:54:37 2009 UTC (15 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.146: +5 -5 lines
Diff to previous 1.146 (colored) to selected 1.126 (colored)
fix the way Attic is handled in our recursion code, so we do not skip files or run over them twice. also fixes -l and -r for checkout/update when a file in Attic exists with that tag that in HEAD is a directory in the normal repository like gnu/usr.bin/gcc/INSTALL. as a bonus, we do not run fstat() twice per file or dir anymore... spotted by deraadt@
Revision 1.146 / (download) - annotate - [select for diffs], Wed Mar 25 21:50:33 2009 UTC (15 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.145: +13 -13 lines
Diff to previous 1.145 (colored) to selected 1.126 (colored)
switch our file and directory lists to RB trees (see tree(3)), so we can benefit from faster lookup times while recursing.
Revision 1.145 / (download) - annotate - [select for diffs], Fri Aug 29 09:54:22 2008 UTC (15 years, 9 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.144: +19 -13 lines
Diff to previous 1.144 (colored) to selected 1.126 (colored)
Pre-commit checks (CVSROOT/commitinfo) are run before log message is requested. Do this for GNU cvs compatibility, too. ok joris
Revision 1.144 / (download) - annotate - [select for diffs], Tue Jul 8 12:54:13 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4
Changes since 1.143: +9 -2 lines
Diff to previous 1.143 (colored) to selected 1.126 (colored)
make these compile cleanly
Revision 1.143 / (download) - annotate - [select for diffs], Sun Jun 15 04:38:52 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.142: +54 -33 lines
Diff to previous 1.142 (colored) to selected 1.126 (colored)
Support the addition of new files in branches. ok joris
Revision 1.142 / (download) - annotate - [select for diffs], Sat Jun 14 04:34:08 2008 UTC (16 years ago) by tobias
Branch: MAIN
Changes since 1.141: +6 -3 lines
Diff to previous 1.141 (colored) to selected 1.126 (colored)
Conforming to RCS specification, it is possible but unlikely to encounter an RCS file which has no head revision set. Some commands actually can work with them (log, status) so support these files. Fixes A LOT of possible segmentation faults. ok joris
Revision 1.141 / (download) - annotate - [select for diffs], Sat Jun 14 03:19:15 2008 UTC (16 years ago) by joris
Branch: MAIN
Changes since 1.140: +1 -2 lines
Diff to previous 1.140 (colored) to selected 1.126 (colored)
don't always re-open the same CVS/Entries file, instead keep the last opened CVS/Entries around to operate on and close it whenever we switch directory. gives us a small performance boost, obviously. while doing this, switch the way we write revisions to disk by using fwrite(3) so stuff can get written to disk in chunks instead of writing everything line by line, another win. with help from otto@ ok tobias@
Revision 1.140 / (download) - annotate - [select for diffs], Tue Jun 10 19:00:17 2008 UTC (16 years ago) by joris
Branch: MAIN
Changes since 1.139: +3 -1 lines
Diff to previous 1.139 (colored) to selected 1.126 (colored)
set tag_new if its available so it can get passed to loginfo
Revision 1.139 / (download) - annotate - [select for diffs], Tue Jun 10 14:49:50 2008 UTC (16 years ago) by joris
Branch: MAIN
Changes since 1.138: +69 -150 lines
Diff to previous 1.138 (colored) to selected 1.126 (colored)
switch back to a single log message in local mode so we are compliant with a remote setup. fixes a very annoying bug with loginfo as well. ok tobias@
Revision 1.138 / (download) - annotate - [select for diffs], Tue Jun 10 02:07:57 2008 UTC (16 years ago) by joris
Branch: MAIN
Changes since 1.137: +4 -4 lines
Diff to previous 1.137 (colored) to selected 1.126 (colored)
style
Revision 1.137 / (download) - annotate - [select for diffs], Tue Jun 10 01:00:34 2008 UTC (16 years ago) by joris
Branch: MAIN
Changes since 1.136: +150 -13 lines
Diff to previous 1.136 (colored) to selected 1.126 (colored)
New trigger framework that allows us to run the required scripts defined in CVSROOT/commitinfo and CVSROOT/loginfo and so on. This enables the use of log_accum2 and all that other nice stuff we like. This was mostly written by Jonathan Armani with help from tobias@ and myself. ok tobias@
Revision 1.136 / (download) - annotate - [select for diffs], Mon Jun 9 22:31:24 2008 UTC (16 years ago) by tobias
Branch: MAIN
Changes since 1.135: +26 -21 lines
Diff to previous 1.135 (colored) to selected 1.126 (colored)
Properly handle merged files and conflicts which may arrise while merge. Instead of ignoring all files which contain possible conflict markers, only watch out for files which have actually been merged. With input by and ok joris.
Revision 1.135 / (download) - annotate - [select for diffs], Sun Jun 8 20:08:43 2008 UTC (16 years ago) by tobias
Branch: MAIN
Changes since 1.134: +103 -40 lines
Diff to previous 1.134 (colored) to selected 1.126 (colored)
Handle commits on a per-directory basis instead handling all of them at once in local setup. Also added '!' to reuse typed log message for all following directories. ok joris
Revision 1.134 / (download) - annotate - [select for diffs], Sun Jun 8 02:54:08 2008 UTC (16 years ago) by tobias
Branch: MAIN
Changes since 1.133: +3 -3 lines
Diff to previous 1.133 (colored) to selected 1.126 (colored)
Properly build up path to description files (descr entry in RCS files if you add a file with -m message). ok joris
Revision 1.133 / (download) - annotate - [select for diffs], Sat May 17 21:06:44 2008 UTC (16 years ago) by tobias
Branch: MAIN
Changes since 1.132: +10 -7 lines
Diff to previous 1.132 (colored) to selected 1.126 (colored)
Full support of branches added. We lacked proper support of multiple branch entry points in one revision as well as branches which started from other branches. ok joris
Revision 1.132 / (download) - annotate - [select for diffs], Sun Mar 9 03:14:52 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.131: +18 -2 lines
Diff to previous 1.131 (colored) to selected 1.126 (colored)
proper repository locking: - all read operations now look for a lock, and wait if present but never try to lock the tree themselfs anymore. - all write operations lock the tree where needed. - commit locks all relevant directories before even attempting to start.
Revision 1.131 / (download) - annotate - [select for diffs], Wed Feb 27 22:34:04 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE,
OPENBSD_4_3
Changes since 1.130: +13 -5 lines
Diff to previous 1.130 (colored) to selected 1.126 (colored)
prevent file races ok tobias@
Revision 1.130 / (download) - annotate - [select for diffs], Wed Feb 20 17:29:28 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
Changes since 1.129: +1 -3 lines
Diff to previous 1.129 (colored) to selected 1.126 (colored)
With latest buf cleanup, rcs_rev_getbuf won't return NULL anymore. OK joris@
Revision 1.129 / (download) - annotate - [select for diffs], Mon Feb 11 20:33:11 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.128: +5 -9 lines
Diff to previous 1.128 (colored) to selected 1.126 (colored)
Cleanup buf implementation: * Don't check for NULL on buffer creation, because it calls fatal() when something's wrong. * All buffers are supposed to expand if there is no space left in them, so zap flags as well. * Remove code that is now dead. OK joris@ > Inspired by a diff from Igor Zinovik about unchecked return value.
Revision 1.128 / (download) - annotate - [select for diffs], Sun Feb 10 13:07:58 2008 UTC (16 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.127: +8 -1 lines
Diff to previous 1.127 (colored) to selected 1.126 (colored)
do not allow commits to files that have a sticky date set
Revision 1.127 / (download) - annotate - [select for diffs], Mon Feb 4 22:36:40 2008 UTC (16 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.126: +10 -3 lines
Diff to previous 1.126 (colored)
CVSROOT/modules: correct -i and -o usage -i runs the program specified on commit -o runs the program specified on checkout
Revision 1.126 / (download) - annotate - [selected], Mon Feb 4 15:07:33 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.125: +4 -4 lines
Diff to previous 1.125 (colored)
Added -k flag support for all commands which support it. OK joris@
Revision 1.125 / (download) - annotate - [select for diffs], Thu Jan 31 22:11:38 2008 UTC (16 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.124: +5 -1 lines
Diff to previous 1.124 (colored) to selected 1.126 (colored)
free RCSNUM's when we are done with them; ok tobias@
Revision 1.124 / (download) - annotate - [select for diffs], Thu Jan 31 10:15:05 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) to selected 1.126 (colored)
Replaced the unused cvs_command variable cmd_req with cmd_flags, which states if the current command is supposed to use a working directory or if it is a repository-only command (as of now checkout -p, rtag, rlog). Makes the code simpler, easier to read and automagically fixes some issues we encountered with these commands (for example if a working directory exists, or "." operations are performed). OK joris@, niallo@
Revision 1.123 / (download) - annotate - [select for diffs], Tue Jan 29 11:58:59 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.122: +18 -4 lines
Diff to previous 1.122 (colored) to selected 1.126 (colored)
Properly free dynamically allocated memory. Also skip needless checks. > Diff from Igor Zinovik
Revision 1.122 / (download) - annotate - [select for diffs], Mon Jan 28 21:32:00 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.121: +8 -8 lines
Diff to previous 1.121 (colored) to selected 1.126 (colored)
Zapped some variables which made the source harder to read (and to verify). > Diff from Igor Zinovik
Revision 1.121 / (download) - annotate - [select for diffs], Mon Jan 28 21:26:51 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.120: +15 -2 lines
Diff to previous 1.120 (colored) to selected 1.126 (colored)
checkout's options -m and -F are mutually exclusive. Also watch out to properly free arguments if options are supplied multiple times. OK ray@ > Diff from Igor Zinovik
Revision 1.120 / (download) - annotate - [select for diffs], Mon Jan 28 20:31:07 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.119: +2 -1 lines
Diff to previous 1.119 (colored) to selected 1.126 (colored)
Properly handle -R -- although it is default, it may be overwritten mit -l in front of it. OK joris@, xsa@ > Diff from Igor Zinovik
Revision 1.119 / (download) - annotate - [select for diffs], Sun Jan 13 11:15:19 2008 UTC (16 years, 5 months ago) by tobias
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118 (colored) to selected 1.126 (colored)
Revision buffers are supposed to be of size CVS_REV_BUFSZ (32) instead of 24. OK xsa@ > Diff from Igor Zinovik.
Revision 1.118 / (download) - annotate - [select for diffs], Sun Jan 13 11:11:08 2008 UTC (16 years, 5 months ago) by tobias
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored) to selected 1.126 (colored)
Typos fixed. OK xsa@ > Diff from Igor Zinovik.
Revision 1.117 / (download) - annotate - [select for diffs], Thu Jan 10 09:54:04 2008 UTC (16 years, 5 months ago) by tobias
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored) to selected 1.126 (colored)
Our keyword expansion had a big flaw, due to this construction: if (!(mode & RCS_KWEXP_NONE)) RCS_KWEXP_NONE is defined to 0, so expansion happened always. Left shifted all RCS_KWEXP defines and looked carefully at hard-coded values throughout the code.
Revision 1.116 / (download) - annotate - [select for diffs], Thu Jan 10 09:37:26 2008 UTC (16 years, 5 months ago) by tobias
Branch: MAIN
Changes since 1.115: +4 -1 lines
Diff to previous 1.115 (colored) to selected 1.126 (colored)
RCS files without head keyword mustn't segfault our implementation. Only command that supports such files is "cvs status", therefore properly handle them in all other commands, too.
Revision 1.115 / (download) - annotate - [select for diffs], Mon Oct 8 14:13:13 2007 UTC (16 years, 8 months ago) by joris
Branch: MAIN
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored) to selected 1.126 (colored)
do not try to reset the default branch if the RCS file does not exist, fixes a segfault when commiting a new file. found by tobias@ who is going to make a nice little regression test for this.
Revision 1.114 / (download) - annotate - [select for diffs], Wed Oct 3 13:12:06 2007 UTC (16 years, 8 months ago) by joris
Branch: MAIN
Changes since 1.113: +6 -6 lines
Diff to previous 1.113 (colored) to selected 1.126 (colored)
reset the default branch early on so rcs_head_get() does not screw us up and returns a possibly wrong revision as 'current revision'. noticed by tobias@ his regress testing
Revision 1.113 / (download) - annotate - [select for diffs], Mon Sep 24 13:56:09 2007 UTC (16 years, 8 months ago) by joris
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored) to selected 1.126 (colored)
unused vars
Revision 1.112 / (download) - annotate - [select for diffs], Mon Sep 24 13:44:20 2007 UTC (16 years, 8 months ago) by joris
Branch: MAIN
Changes since 1.111: +128 -29 lines
Diff to previous 1.111 (colored) to selected 1.126 (colored)
add support to commit modified files to branches.
Revision 1.111 / (download) - annotate - [select for diffs], Sun Sep 23 11:19:24 2007 UTC (16 years, 8 months ago) by joris
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored) to selected 1.126 (colored)
make sure when running update -r on existing files to overwrite the sticky directory tag with it. since -r gets priority.
Revision 1.110 / (download) - annotate - [select for diffs], Sat Sep 22 16:01:22 2007 UTC (16 years, 8 months ago) by joris
Branch: MAIN
Changes since 1.109: +7 -7 lines
Diff to previous 1.109 (colored) to selected 1.126 (colored)
better branching/sticky tag support, no branch commits yet though.
Revision 1.109 / (download) - annotate - [select for diffs], Thu Aug 30 11:07:18 2007 UTC (16 years, 9 months ago) by joris
Branch: MAIN
Changes since 1.108: +3 -2 lines
Diff to previous 1.108 (colored) to selected 1.126 (colored)
properly send our log message to the server using Argumentx, so we no longer break when the log message has multiple lines. from Tobias Stoeckmann, thanks for doing my work!
Revision 1.108 / (download) - annotate - [select for diffs], Thu Jun 28 17:45:49 2007 UTC (16 years, 11 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE,
OPENBSD_4_2
Changes since 1.107: +5 -2 lines
Diff to previous 1.107 (colored) to selected 1.126 (colored)
When commiting to a server in a remote setup classify the files based upon their entry in CVS/Entries instead of using the local classifying code and trying to locate the RCSfile on our local disks, which ofc does not work correctly. OK niallo@
Revision 1.107 / (download) - annotate - [select for diffs], Mon Jun 18 17:54:13 2007 UTC (16 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.106: +23 -2 lines
Diff to previous 1.106 (colored) to selected 1.126 (colored)
first stab at history stuff for opencvs, currently only writes to CVSROOT/history but cannot parse it yet with the 'history' command. "Commit it." ray@
Revision 1.106 / (download) - annotate - [select for diffs], Fri Jun 1 17:47:47 2007 UTC (17 years ago) by niallo
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored) to selected 1.126 (colored)
add support for local and remote branch checkout. for example, cvs co -rOPENBSD_3_0 works now. along the way, simplify and rationalise code and fix a few nits. ok joris@ xsa@ ray@
Revision 1.105 / (download) - annotate - [select for diffs], Thu Feb 22 06:42:09 2007 UTC (17 years, 3 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.104: +7 -3 lines
Diff to previous 1.104 (colored) to selected 1.126 (colored)
general includes cleanup sweep. ok joris@ niallo@
Revision 1.104 / (download) - annotate - [select for diffs], Fri Feb 9 03:49:15 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.103: +3 -7 lines
Diff to previous 1.103 (colored) to selected 1.126 (colored)
remove the cvs_file_classify() `loud' argument, it was used in the old school days and serves no purpose what so ever now. otto@ mentioned this to me a while ago
Revision 1.103 / (download) - annotate - [select for diffs], Thu Feb 1 20:33:03 2007 UTC (17 years, 4 months ago) by otto
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored) to selected 1.126 (colored)
change mode of a newly created rcs file in the repository to 0444 ok jorix@ xsa@
Revision 1.102 / (download) - annotate - [select for diffs], Wed Jan 31 21:07:35 2007 UTC (17 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.101: +8 -15 lines
Diff to previous 1.101 (colored) to selected 1.126 (colored)
snprintf() -> xsnprintf()
Revision 1.101 / (download) - annotate - [select for diffs], Fri Jan 26 21:48:17 2007 UTC (17 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.100: +8 -1 lines
Diff to previous 1.100 (colored) to selected 1.126 (colored)
- support [-k mode] for the add command - do not let the file keyword expension options (-k) disappear from the Entries file when doing a commit/update/checkout - be sure the expension mode gets written to the RCS file when a file is added/committed in the first place problems raised by otto@; tests/ok otto@ and joris@.
Revision 1.100 / (download) - annotate - [select for diffs], Thu Jan 25 18:56:33 2007 UTC (17 years, 4 months ago) by otto
Branch: MAIN
Changes since 1.99: +4 -17 lines
Diff to previous 1.99 (colored) to selected 1.126 (colored)
use more stack allocations for fixed size buffers. ok xsa@ joris@
Revision 1.99 / (download) - annotate - [select for diffs], Thu Jan 18 15:26:52 2007 UTC (17 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.98: +4 -1 lines
Diff to previous 1.98 (colored) to selected 1.126 (colored)
send -l Argument to server when appropriate.
Revision 1.98 / (download) - annotate - [select for diffs], Sun Jan 14 23:10:56 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored) to selected 1.126 (colored)
move things around in rcs_rev_getbuf() and rcs_rev_write_fd() so that we do keyword expansion on-the-fly if required instead of obtaining the revision in memory first, running over the revision lines while expanding keywords and only then writing them to the fd or memory buffer. this drasticly decreases cpu usage by opencvs on very large trees (like src). OK niallo@
Revision 1.97 / (download) - annotate - [select for diffs], Sat Jan 13 18:28:27 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.96: +12 -20 lines
Diff to previous 1.96 (colored) to selected 1.126 (colored)
switch commit code to the new RCS api. kay niallo@
Revision 1.96 / (download) - annotate - [select for diffs], Sat Jan 13 15:56:15 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.95: +4 -1 lines
Diff to previous 1.95 (colored) to selected 1.126 (colored)
plug 3 memleaks
Revision 1.95 / (download) - annotate - [select for diffs], Sat Jan 13 15:45:59 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.94: +2 -6 lines
Diff to previous 1.94 (colored) to selected 1.126 (colored)
remove BUF * argument from cvs_checkout_file() it will no longer be used, ever.
Revision 1.94 / (download) - annotate - [select for diffs], Fri Jan 12 23:32:01 2007 UTC (17 years, 5 months ago) by niallo
Branch: MAIN
Changes since 1.93: +4 -4 lines
Diff to previous 1.93 (colored) to selected 1.126 (colored)
major re-work of the RCS api. this results in 100x performance improvements in some places and much reduced memory usage. note that only checkout has been fully converted to use the new high-performance functions. other codepaths (e.g. update) still use the old method which is provided for backwards compatibility. we can convert the remaining slow bits over to the new api piece-by-piece. "commit this, now" joris@ brad@ tested, too.
Revision 1.93 / (download) - annotate - [select for diffs], Fri Jan 12 19:28:12 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.92: +8 -4 lines
Diff to previous 1.92 (colored) to selected 1.126 (colored)
do not leak memory from rcs_head_get() ok niallo@
Revision 1.92 / (download) - annotate - [select for diffs], Fri Jan 12 18:27:18 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.91: +4 -1 lines
Diff to previous 1.91 (colored) to selected 1.126 (colored)
if we have no files to be commited, stop commiting.
Revision 1.91 / (download) - annotate - [select for diffs], Fri Jan 12 17:25:33 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.90: +8 -19 lines
Diff to previous 1.90 (colored) to selected 1.126 (colored)
complete binary support for opencvs, adding/importing binary files now works too partially taken from openrcs
Revision 1.90 / (download) - annotate - [select for diffs], Thu Jan 11 18:06:49 2007 UTC (17 years, 5 months ago) by jasper
Branch: MAIN
Changes since 1.89: +4 -4 lines
Diff to previous 1.89 (colored) to selected 1.126 (colored)
silence some warnings. ok joris@
Revision 1.89 / (download) - annotate - [select for diffs], Thu Jan 11 02:35:55 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored) to selected 1.126 (colored)
in a remote setup: do not connect to the remote server until we are sure all the options passed to the commands are valid. noticed by xsa@
Revision 1.88 / (download) - annotate - [select for diffs], Sun Jan 7 03:08:15 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.87: +2 -6 lines
Diff to previous 1.87 (colored) to selected 1.126 (colored)
use cvs_logmsg_read() for -F for simplicity.
Revision 1.87 / (download) - annotate - [select for diffs], Sun Jan 7 02:44:13 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.86: +5 -1 lines
Diff to previous 1.86 (colored) to selected 1.126 (colored)
free the filelists we pass to cvs_logmsg_create() after we obtain our logmessage.
Revision 1.86 / (download) - annotate - [select for diffs], Sun Jan 7 02:39:24 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.85: +51 -32 lines
Diff to previous 1.85 (colored) to selected 1.126 (colored)
rewrite of the logmessage code, which allows you to enter a logmessage into your favorite editor when commiting.
Revision 1.85 / (download) - annotate - [select for diffs], Wed Jan 3 22:28:30 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.84: +4 -15 lines
Diff to previous 1.84 (colored) to selected 1.126 (colored)
add support for 'remove' in a remote setup. testing appriciated, as always.
Revision 1.84 / (download) - annotate - [select for diffs], Wed Jan 3 20:48:26 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored) to selected 1.126 (colored)
if we are commiting a file, do not let the server resend it with an 'Updated' response, seeing as the client will already have the latest version. Instead, send the correct 'Checked-in' response.
Revision 1.83 / (download) - annotate - [select for diffs], Tue Jan 2 23:55:15 2007 UTC (17 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.82: +16 -2 lines
Diff to previous 1.82 (colored) to selected 1.126 (colored)
- fix cvs_client_remove_entry to correctly handle the passed data - when commiting in a remote setup, allow the opencvs server to send the correct response to the client when a file has been removed
Revision 1.82 / (download) - annotate - [select for diffs], Sun Dec 31 15:11:23 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.81: +7 -7 lines
Diff to previous 1.81 (colored) to selected 1.126 (colored)
minor nits;
Revision 1.81 / (download) - annotate - [select for diffs], Sat Jul 8 09:25:44 2006 UTC (17 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) to selected 1.126 (colored)
Remove file mode argument from {cvs|rcs}_buf_write_stmp(). We always set the temporary file to mode 600, which is already done by mkstemp(). OK joris@ and xsa@ over a month ago.
Revision 1.80 / (download) - annotate - [select for diffs], Fri Jul 7 17:37:17 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.79: +22 -2 lines
Diff to previous 1.79 (colored) to selected 1.126 (colored)
first part of opencvs remote, fairly useable on existing trees although i advise against using it on real development trees for now. only a few commands work right so far: - commit - diff - status - log - update (partially working) if you feel like testing remote and run into bugs feel free to contact me, and please include a full trace (-t).
Revision 1.79 / (download) - annotate - [select for diffs], Sun Jul 2 21:01:48 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.78: +8 -4 lines
Diff to previous 1.78 (colored) to selected 1.126 (colored)
- abort the commit when files are not correctly up to date. - do not try to attempt to check for conflict markers when the file is not on disk. found by and okay reyk@
Revision 1.78 / (download) - annotate - [select for diffs], Thu Jun 29 00:41:52 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored) to selected 1.126 (colored)
it is a really good idea to store the result cvs_buf_load_fd returns in bp, considering we depend on that. found by reyk who is now my favorite german person, 10x.
Revision 1.77 / (download) - annotate - [select for diffs], Wed Jun 28 18:52:05 2006 UTC (17 years, 11 months ago) by reyk
Branch: MAIN
Changes since 1.76: +19 -12 lines
Diff to previous 1.76 (colored) to selected 1.126 (colored)
print less verbose messages for cvs commit and add if the -q/-Q flag has been specified. ok joris@
Revision 1.76 / (download) - annotate - [select for diffs], Wed Jun 28 17:59:06 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.75: +5 -3 lines
Diff to previous 1.75 (colored) to selected 1.126 (colored)
do not fail when we are trying to commit a newly added file when the CVS/*,t file is not present for the file. spotted and tested by reyk@ okay xsa@
Revision 1.75 / (download) - annotate - [select for diffs], Mon Jun 19 05:05:17 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.74: +3 -4 lines
Diff to previous 1.74 (colored) to selected 1.126 (colored)
kill local and remote callback and just have one called fileproc. we let the commands pass the correct function. all in preparation for remote.
Revision 1.74 / (download) - annotate - [select for diffs], Fri Jun 16 14:07:42 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.73: +2 -3 lines
Diff to previous 1.73 (colored) to selected 1.126 (colored)
in preparation for the new remote code, proto.h becomes obsolete.
Revision 1.73 / (download) - annotate - [select for diffs], Wed Jun 14 14:10:50 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored) to selected 1.126 (colored)
add cvs_buf_load_fd() which does the same as cvs_buf_load() except it takes a decriptor as argument instead of a path. modified cvs_buf_load() to open the descriptor then pass it to cvs_buf_load_fd(). change all the calls to cvs_buf_load() that have a descriptor open for the path to cvs_buf_load_fd() to prevent races.
Revision 1.72 / (download) - annotate - [select for diffs], Tue Jun 13 06:51:32 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.71: +4 -3 lines
Diff to previous 1.71 (colored) to selected 1.126 (colored)
files that are not checked out are not up-to-date, consider this a conflict and block the commit when we encounter any of these. and make an error message a bit more fluffy and accurate.
Revision 1.71 / (download) - annotate - [select for diffs], Wed Jun 7 07:01:12 2006 UTC (18 years ago) by xsa
Branch: MAIN
Changes since 1.70: +34 -1 lines
Diff to previous 1.70 (colored) to selected 1.126 (colored)
add support for <name>,t file: - add: creates <name>,t file with initial description if -m option was used. - commit: uses <name>,t content (if it exists) to set the file description OK joris@.
Revision 1.70 / (download) - annotate - [select for diffs], Tue Jun 6 05:18:23 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.69: +8 -1 lines
Diff to previous 1.69 (colored) to selected 1.126 (colored)
hello commit -F support
Revision 1.69 / (download) - annotate - [select for diffs], Sun Jun 4 09:52:56 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.68: +4 -1 lines
Diff to previous 1.68 (colored) to selected 1.126 (colored)
sprinkle -n voodoo over the add, commit and import commands.
Revision 1.68 / (download) - annotate - [select for diffs], Thu Jun 1 20:00:52 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.67: +7 -2 lines
Diff to previous 1.67 (colored) to selected 1.126 (colored)
major rewrite of some rcs parsing stuff: - rework rcs_getrev() to correctly support branches - rework rcs_translate_tag() to correctly translate given symbols or branches into their matching revisions - rework rcs_rev_add() to correctly update its 'next' pointers and insert the new revision in the correct place on the list. - rework rcs_head_get() to return the latest revision on the default branch if it has been set or the normal HEAD revision otherwise. - no longer access the rf_head member of the RCSFILE struct manually, use the rcs_head_get() function which correctly returns the HEAD revision, there might be a default branch that has to be used. - for now, when commiting a new revision reset the default branch.
Revision 1.67 / (download) - annotate - [select for diffs], Wed May 31 23:27:38 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.66: +8 -4 lines
Diff to previous 1.66 (colored) to selected 1.126 (colored)
when adding a new file that already exists set the previous deltatext (the dead revision) to the correct rcs diff if the file was modified in any way.
Revision 1.66 / (download) - annotate - [select for diffs], Wed May 31 01:26:21 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.65: +46 -12 lines
Diff to previous 1.65 (colored) to selected 1.126 (colored)
allow commit to ressurect added files that exist in Attic/
Revision 1.65 / (download) - annotate - [select for diffs], Tue May 30 21:32:52 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) to selected 1.126 (colored)
fill in the correct revision number we will want in file_rcsrev for each cvs_file struct, this will help us with sticky tags, commiting to branches and importing into existing repositories.
Revision 1.64 / (download) - annotate - [select for diffs], Tue May 30 04:20:27 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.63: +29 -2 lines
Diff to previous 1.63 (colored) to selected 1.126 (colored)
the moment we are done commiting a removed file, move the RCS file into the Attic and out of our way.
Revision 1.63 / (download) - annotate - [select for diffs], Sun May 28 10:15:35 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.62: +17 -9 lines
Diff to previous 1.62 (colored) to selected 1.126 (colored)
enable basic add command, only works on files right now.
Revision 1.62 / (download) - annotate - [select for diffs], Sun May 28 07:56:44 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored) to selected 1.126 (colored)
allow commands to shut up the output from cvs_file_classify if the commands want to output certain stuff themselfs
Revision 1.61 / (download) - annotate - [select for diffs], Sun May 28 04:32:54 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.60: +29 -7 lines
Diff to previous 1.60 (colored) to selected 1.126 (colored)
teach opencvs ci how to commit files that have been added, opencvs can now commit modified files, removed files and added files. hip hip hurray!
Revision 1.60 / (download) - annotate - [select for diffs], Sun May 28 01:24:28 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.59: +12 -2 lines
Diff to previous 1.59 (colored) to selected 1.126 (colored)
enable merging on update. if your file in your working copy has been modified by yourself and there is a newer revision we try and merge them together. if the merge fails and has conflicts it will mark them inside the file, you will need to resolve these by hand first before you will be able to commit your modified file. works transparent with gnu cvs, as it is suppose to.
Revision 1.59 / (download) - annotate - [select for diffs], Sat May 27 15:17:42 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.58: +7 -1 lines
Diff to previous 1.58 (colored) to selected 1.126 (colored)
show which directory we are examining in our pre-commit checks.
Revision 1.58 / (download) - annotate - [select for diffs], Sat May 27 15:14:27 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.57: +6 -1 lines
Diff to previous 1.57 (colored) to selected 1.126 (colored)
allow commands to respect the -l flag, if the -l flag is specified certain commands will not recurse into directories. at the same time introduce a method of specifying wether or not a command should look in the repository for files.
Revision 1.57 / (download) - annotate - [select for diffs], Sat May 27 14:05:53 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.56: +8 -1 lines
Diff to previous 1.56 (colored) to selected 1.126 (colored)
dont allow commit to continue if the file that is being commited needs to be updated or merged first.
Revision 1.56 / (download) - annotate - [select for diffs], Sat May 27 06:16:14 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.55: +43 -8 lines
Diff to previous 1.55 (colored) to selected 1.126 (colored)
commiting removed files now works
Revision 1.55 / (download) - annotate - [select for diffs], Sat May 27 03:30:30 2006 UTC (18 years ago) by joris
Branch: MAIN
Changes since 1.54: +134 -201 lines
Diff to previous 1.54 (colored) to selected 1.126 (colored)
commit the new opencvs code, i have been hacking on this for the past 2 weeks now and it should go in at the start of the hackathon so others can help out. this code is a lot safer, smarter, faster and best of all it is actually doing what it is suppose to do! basic checkout, update, status, diff and commit are working in local mode only. there is no support for any remote setups now.
Revision 1.54 / (download) - annotate - [select for diffs], Fri Apr 14 02:45:35 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.53: +6 -6 lines
Diff to previous 1.53 (colored) to selected 1.126 (colored)
remove a metric buttload of excessive () no binary change; ok ray
Revision 1.53 / (download) - annotate - [select for diffs], Sat Apr 1 20:11:25 2006 UTC (18 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.52: +2 -6 lines
Diff to previous 1.52 (colored) to selected 1.126 (colored)
fix some bugs that lint discovered for us. ok niallo@
Revision 1.52 / (download) - annotate - [select for diffs], Thu Mar 16 09:06:19 2006 UTC (18 years, 2 months ago) by xsa
Branch: MAIN
Changes since 1.51: +1 -5 lines
Diff to previous 1.51 (colored) to selected 1.126 (colored)
zap more unused variables.
Revision 1.51 / (download) - annotate - [select for diffs], Mon Jan 2 08:11:56 2006 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.50: +2 -11 lines
Diff to previous 1.50 (colored) to selected 1.126 (colored)
#include's cleanup; ok joris@ niallo@.
Revision 1.50 / (download) - annotate - [select for diffs], Fri Dec 30 02:03:28 2005 UTC (18 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.49: +9 -19 lines
Diff to previous 1.49 (colored) to selected 1.126 (colored)
major cleanup of the functions handling the remote cvs protocol. makes the code a lot more readable and understandable. ok xsa@ and niallo@
Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 22 14:59:54 2005 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.48: +2 -4 lines
Diff to previous 1.48 (colored) to selected 1.126 (colored)
cvs_rcs_getpath() cannot fail anymore;
Revision 1.48 / (download) - annotate - [select for diffs], Wed Dec 21 20:06:25 2005 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.126 (colored)
cvs_logmsg_open() and cvs_logmsg_get() cannot fail anymore;
Revision 1.47 / (download) - annotate - [select for diffs], Sat Dec 10 20:27:45 2005 UTC (18 years, 6 months ago) by joris
Branch: MAIN
Changes since 1.46: +2 -6 lines
Diff to previous 1.46 (colored) to selected 1.126 (colored)
switch to xmalloc stuff, me and xsa@ agreed on this a long time ago, but we were being held back by jfb. too bad for him. next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again. ok niallo@ and xsa@
Revision 1.46 / (download) - annotate - [select for diffs], Wed Jul 27 16:42:19 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE,
OPENBSD_3_8
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.126 (colored)
use LP_NOTICE instead of LP_INFO where appropriate;
Revision 1.45 / (download) - annotate - [select for diffs], Mon Jul 25 12:05:43 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored) to selected 1.126 (colored)
KNF;
Revision 1.44 / (download) - annotate - [select for diffs], Sat Jul 23 11:19:46 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.43: +12 -12 lines
Diff to previous 1.43 (colored) to selected 1.126 (colored)
rewrite of the file code. the previous one was just a mess and not clean. this code is much cleaner, faster, and uses less memory overall. tested by xsa@, brad@, Michael Knudsen, and myself. okay xsa@
Revision 1.43 / (download) - annotate - [select for diffs], Sat Jul 23 00:03:00 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.42: +51 -23 lines
Diff to previous 1.42 (colored) to selected 1.126 (colored)
correctly seperate added, modified and removed files for use in the construction of the log message in the editor. ok jfb@
Revision 1.42 / (download) - annotate - [select for diffs], Fri Jul 22 16:27:29 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.41: +3 -5 lines
Diff to previous 1.41 (colored) to selected 1.126 (colored)
use the cf_name field of the CVSFILE struct instead of using the old CVS_FILE_NAME macro. This macro used to be nifty because of all the referencing for the names, but since we don't do that anymore and use cf_name directly... byebye CVS_FILE_NAME() okay xsa@
Revision 1.41 / (download) - annotate - [select for diffs], Tue Jul 19 00:32:26 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.126 (colored)
unbreak the commit command.
Revision 1.40 / (download) - annotate - [select for diffs], Thu Jul 14 06:50:50 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.39: +2 -13 lines
Diff to previous 1.39 (colored) to selected 1.126 (colored)
use cvs_rcs_getpath();
Revision 1.39 / (download) - annotate - [select for diffs], Tue Jul 12 07:12:13 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.38: +51 -33 lines
Diff to previous 1.38 (colored) to selected 1.126 (colored)
split this into cvs_commit_{remote,local}() functions; ok jfb@ (Yes, Yes he IS back!!)
Revision 1.38 / (download) - annotate - [select for diffs], Thu Jul 7 14:27:57 2005 UTC (18 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored) to selected 1.126 (colored)
remove trailing whitespaces from deraadt@
Revision 1.37 / (download) - annotate - [select for diffs], Tue May 31 08:58:47 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored) to selected 1.126 (colored)
headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;
Revision 1.36 / (download) - annotate - [select for diffs], Mon May 30 09:52:55 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.35: +4 -1 lines
Diff to previous 1.35 (colored) to selected 1.126 (colored)
don't forget to send the log message, this fixes the commit command. ok xsa@
Revision 1.35 / (download) - annotate - [select for diffs], Mon May 30 07:37:01 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.34: +13 -1 lines
Diff to previous 1.34 (colored) to selected 1.126 (colored)
handle -r option; ok joris@
Revision 1.34 / (download) - annotate - [select for diffs], Tue May 24 04:12:25 2005 UTC (19 years ago) by jfb
Branch: MAIN
Changes since 1.33: +25 -19 lines
Diff to previous 1.33 (colored) to selected 1.126 (colored)
Merge the cvs_cmd and cvs_cmd_info structures and add the necessary fields to hook local versions of the commands. This needs to go in before it gets any bigger ok joris
Revision 1.33 / (download) - annotate - [select for diffs], Fri May 20 20:00:53 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.32: +7 -5 lines
Diff to previous 1.32 (colored) to selected 1.126 (colored)
correct wrong error code usage. ok jfb@, xsa@
Revision 1.32 / (download) - annotate - [select for diffs], Fri May 20 05:13:44 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.31: +27 -5 lines
Diff to previous 1.31 (colored) to selected 1.126 (colored)
execute the command callback at the same time we are building the in-memory filelist. cuts down on execution time for larger trees. "put it in!" jfb@
Revision 1.31 / (download) - annotate - [select for diffs], Sun Apr 24 02:06:27 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.30: +8 -1 lines
Diff to previous 1.30 (colored) to selected 1.126 (colored)
don't send a Modified request and the file its contents when it has been removed.
Revision 1.30 / (download) - annotate - [select for diffs], Sun Apr 24 01:56:36 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.126 (colored)
add missing CVS_CMD_ALLOWSPEC flag
Revision 1.29 / (download) - annotate - [select for diffs], Tue Apr 19 02:04:56 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.28: +5 -3 lines
Diff to previous 1.28 (colored) to selected 1.126 (colored)
handle removed files as well when checking files to commit ok joris
Revision 1.28 / (download) - annotate - [select for diffs], Tue Apr 19 00:35:02 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored) to selected 1.126 (colored)
remove debug code
Revision 1.27 / (download) - annotate - [select for diffs], Tue Apr 19 00:34:39 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored) to selected 1.126 (colored)
make sure we pick up newly added files.
Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 18 21:02:49 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.25: +9 -21 lines
Diff to previous 1.25 (colored) to selected 1.126 (colored)
Modify the CVSFILE structure using a union to keep information about both files and directories. We can now keep the revision number for regular files, and don't need to fetch the appropriate entry in the command callbacks. This saves a huge amount of parsing on Entries files. ok joris@
Revision 1.25 / (download) - annotate - [select for diffs], Sat Apr 16 18:01:26 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored) to selected 1.126 (colored)
missing cvs_ent_free(); joris ok
Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 15 14:34:15 2005 UTC (19 years, 2 months ago) by xsa
Branch: MAIN
Changes since 1.23: +8 -3 lines
Diff to previous 1.23 (colored) to selected 1.126 (colored)
snprintf() return values checks; joris ok
Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 12 14:58:40 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.22: +11 -11 lines
Diff to previous 1.22 (colored) to selected 1.126 (colored)
introduce our own set of error codes used by the commands to report what exactly went wrong in case of an error. ok jfb@
Revision 1.22 / (download) - annotate - [select for diffs], Mon Apr 11 18:02:58 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored) to selected 1.126 (colored)
don't include sysexits.h now we don't use those error codes anymore.
Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 11 17:56:27 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) to selected 1.126 (colored)
remove EX_USAGE error codes ok jfb@
Revision 1.20 / (download) - annotate - [select for diffs], Sun Apr 3 17:32:50 2005 UTC (19 years, 2 months ago) by xsa
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored) to selected 1.126 (colored)
first round of EX_* exit codes removal; ok joris@.
Revision 1.19 / (download) - annotate - [select for diffs], Thu Mar 31 15:10:51 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored) to selected 1.126 (colored)
fix prototype for cvs_commit_prepare()
Revision 1.18 / (download) - annotate - [select for diffs], Wed Mar 30 17:43:04 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.17: +32 -58 lines
Diff to previous 1.17 (colored) to selected 1.126 (colored)
move all the client commands to the new command framework. eliminates a lot of duplicate code. ok jfb@
Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 29 15:06:01 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.16: +11 -4 lines
Diff to previous 1.16 (colored) to selected 1.126 (colored)
fix memleak ok jfb@
Revision 1.16 / (download) - annotate - [select for diffs], Wed Mar 2 03:05:02 2005 UTC (19 years, 3 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.15: +17 -10 lines
Diff to previous 1.15 (colored) to selected 1.126 (colored)
- make sure we are using a remote method before calling cvs_sendreq() and cvs_sendfile(). - don't leak entp on errors. ok jfb@
Revision 1.15 / (download) - annotate - [select for diffs], Tue Feb 22 23:34:28 2005 UTC (19 years, 3 months ago) by jfb
Branch: MAIN
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored) to selected 1.126 (colored)
more error checking on protocol calls when running in client mode
Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 13 18:47:31 2005 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.13: +14 -10 lines
Diff to previous 1.13 (colored) to selected 1.126 (colored)
more widespread use of cvs_msg, and free it when we are done diff by Joris Vink and me
Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 21 18:32:10 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.12: +7 -9 lines
Diff to previous 1.12 (colored) to selected 1.126 (colored)
modify the directory handling portion to behave like the one in add.c, which does not attempt to send data when running on a local repository. This will be needed to support local repository access
Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 14 22:30:48 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.11: +19 -12 lines
Diff to previous 1.11 (colored) to selected 1.126 (colored)
First attempt at syncing the command code and doing a lot more error checking on all the protocol calls
Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 13 23:08:45 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored) to selected 1.126 (colored)
return early if no files are ready to be commited
Revision 1.10 / (download) - annotate - [select for diffs], Wed Dec 8 17:22:48 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.9: +8 -8 lines
Diff to previous 1.9 (colored) to selected 1.126 (colored)
embrace and extend (!) cvs_logmsg_get() so we can now display information based on its availability and have separate sections for the Added, Modified and Removed file lists. this will allow us to use the same call for add, commit, import and possibly others Original patch by Joris Vink, some rework from me for the other sections
Revision 1.9 / (download) - annotate - [select for diffs], Tue Dec 7 17:10:56 2004 UTC (19 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.8: +9 -12 lines
Diff to previous 1.8 (colored) to selected 1.126 (colored)
less whitespace, more pretty. ok jfb
Revision 1.8 / (download) - annotate - [select for diffs], Mon Dec 6 21:03:12 2004 UTC (19 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored) to selected 1.126 (colored)
tighten vertical spacing for else; jfb ok
Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 2 19:23:44 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.6: +62 -27 lines
Diff to previous 1.6 (colored) to selected 1.126 (colored)
This commit is brought to you by the brand new improved and better tasting OpenCVS commit code.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 26 16:23:50 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.5: +69 -186 lines
Diff to previous 1.5 (colored) to selected 1.126 (colored)
Rewrite the internals of the file management code so that we do not keep a full path to each file we load, and cache file names so we can have multiple references to a single name. This saves a lot of memory on large trees such as /usr/src, especially on 'Makefile', 'README' and such.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 9 22:22:47 2004 UTC (19 years, 7 months ago) by krapht
Branch: MAIN
Changes since 1.4: +85 -55 lines
Diff to previous 1.4 (colored) to selected 1.126 (colored)
Better handling of log message input and removal of crufty code
Revision 1.4 / (download) - annotate - [select for diffs], Tue Nov 9 21:11:37 2004 UTC (19 years, 7 months ago) by krapht
Branch: MAIN
Changes since 1.3: +6 -3 lines
Diff to previous 1.3 (colored) to selected 1.126 (colored)
at least compile
Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 9 20:59:31 2004 UTC (19 years, 7 months ago) by krapht
Branch: MAIN
Changes since 1.2: +132 -4 lines
Diff to previous 1.2 (colored) to selected 1.126 (colored)
Editor invocation code, still needs some work
Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 30 01:49:22 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored) to selected 1.126 (colored)
Move to the new API for the client-server protocol. All functions now take a cvs root structure as parameter. This will allow for much easier management of CVS trees that make use of multiple roots.
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Jul 13 22:02:40 2004 UTC (19 years, 11 months ago) by jfb
Branch: OpenCVS
CVS Tags: OpenCVS_0_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.126 (colored)
* initial import from the cvs-tools module
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 13 22:02:40 2004 UTC (19 years, 11 months ago) by jfb
Branch: MAIN
Branch point for: OpenCVS
Diff to selected 1.126 (colored)
Initial revision