OpenBSD CVS

CVS log for src/usr.bin/cvs/cvs.c


[BACK] Up to [local] / src / usr.bin / cvs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.160 / (download) - annotate - [select for diffs], Wed Jan 27 07:18:16 2021 UTC (3 years, 3 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, HEAD
Changes since 1.159: +3 -1 lines
Diff to previous 1.159 (colored)

fix -fno-common issues; ok mortimer

Revision 1.159 / (download) - annotate - [select for diffs], Thu Jun 1 08:08:24 2017 UTC (6 years, 11 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.158: +2 -2 lines
Diff to previous 1.158 (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.158 / (download) - annotate - [select for diffs], Sun Sep 4 16:39:50 2016 UTC (7 years, 8 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.157: +2 -2 lines
Diff to previous 1.157 (colored)

Add missing getpw pledge

ok deraadt

Revision 1.157 / (download) - annotate - [select for diffs], Thu Nov 19 17:44:01 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.156: +5 -1 lines
Diff to previous 1.156 (colored)

opencvs can use pledge "stdio rpath wpath cpath fattr proc exec".
I have not looked into adding stricter pledges later in the code.

Revision 1.156 / (download) - annotate - [select for diffs], Thu Nov 5 09:48:21 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.155: +8 -9 lines
Diff to previous 1.155 (colored)

Remove xfree(), like already done for RCS. From Michael W Bombardieri,
ok mmcc

Revision 1.155 / (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.154: +5 -5 lines
Diff to previous 1.154 (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.154 / (download) - annotate - [select for diffs], Mon Dec 1 21:58:46 2014 UTC (9 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.153: +3 -3 lines
Diff to previous 1.153 (colored)

An internal function called xrealloc() is actually a fail-hard
reallocarray()... so rename it.

Revision 1.153 / (download) - annotate - [select for diffs], Wed Jan 8 13:23:55 2014 UTC (10 years, 4 months ago) by okan
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.152: +2 -2 lines
Diff to previous 1.152 (colored)

unsigned char for ctype. ok deraadt

Revision 1.152 / (download) - annotate - [select for diffs], Tue Sep 20 12:43:45 2011 UTC (12 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: 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: +1 -2 lines
Diff to previous 1.151 (colored)

Lose unused variable cvs_msg, from Michael W Bombardieri.

Revision 1.151 / (download) - annotate - [select for diffs], Fri Jul 23 08:31:19 2010 UTC (13 years, 9 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.150: +4 -4 lines
Diff to previous 1.150 (colored)

Rename a bunch of variables and functions, removing the cvs_/rcs_
prefixes to reduce differences between cvs and rcs files.

"yes!" nicm

Revision 1.150 / (download) - annotate - [select for diffs], Sat Jun 21 15:39:15 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.149: +8 -1 lines
Diff to previous 1.149 (colored)

add a hash table mechanism based upon hcreate(3) but one that allows
us to maintain multiple hash tables concurrently.

immediatly start using it to keep track of what directories
we have already created and what CVS dirs we already created so
we do not recreate them when we do not need to.

we will be switching more internals to use this soon.
rejoice for cheaper lookups.

ok tobias@

Revision 1.149 / (download) - annotate - [select for diffs], Tue Jun 17 11:05:39 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.148: +1 -2 lines
Diff to previous 1.148 (colored)

unused vars

Revision 1.148 / (download) - annotate - [select for diffs], Sat Jun 14 03:19:15 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.147: +6 -1 lines
Diff to previous 1.147 (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.147 / (download) - annotate - [select for diffs], Tue Jun 10 23:42:04 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.146: +6 -12 lines
Diff to previous 1.146 (colored)

make opencvs behave exactly like GNU cvs does when it comes to
verbosity, it's verbose by default and you can shut it up using -Q.

ok tobias@

Revision 1.146 / (download) - annotate - [select for diffs], Fri May 30 16:11:32 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.145: +11 -11 lines
Diff to previous 1.145 (colored)

Set up cmdp before first possible call of fatal to avoid NULL pointer
dereference in logging code.  Spotted by Igor Zinovik.

ok joris

Revision 1.145 / (download) - annotate - [select for diffs], Wed May 28 17:12:00 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.144: +50 -20 lines
Diff to previous 1.144 (colored)

Don't limit ourselfs when it comes to arguments on command line or
arguments sent by client.

ok joris

Revision 1.144 / (download) - annotate - [select for diffs], Sat Mar 8 20:52:36 2008 UTC (16 years, 2 months ago) by tobias
Branch: MAIN
Changes since 1.143: +4 -3 lines
Diff to previous 1.143 (colored)

Set umask (and cvs_umask) to system's umask in local and client mode.
Also zap umask(0);umask(mask); calls, we have cvs_umask for this.

ok joris

Revision 1.143 / (download) - annotate - [select for diffs], Tue Feb 26 21:23:00 2008 UTC (16 years, 2 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.142: +1 -2 lines
Diff to previous 1.142 (colored)

spacing

Revision 1.142 / (download) - annotate - [select for diffs], Sat Feb 2 19:32:28 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.141: +4 -2 lines
Diff to previous 1.141 (colored)

initial CVSROOT/modules support, only does aliases at the moment (-a).
"modules.c, hurray!" xsa@, ok tobias@

Revision 1.141 / (download) - annotate - [select for diffs], Mon Jan 28 21:32:00 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
Changes since 1.140: +2 -4 lines
Diff to previous 1.140 (colored)

Zapped some variables which made the source harder to read (and to verify).

> Diff from Igor Zinovik

Revision 1.140 / (download) - annotate - [select for diffs], Thu Jan 10 10:05:40 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.139: +5 -12 lines
Diff to previous 1.139 (colored)

Simply the use of cmdp and cvs_command by zapping cvs_command and working
solely with cmdp.  This remedies some reliability issues with invalid
commands supplied and also fixes a GNU cvs style incompatibility with
release command.

> Based on patch from Igor Zinovik

Revision 1.139 / (download) - annotate - [select for diffs], Sun Oct 7 18:14:09 2007 UTC (16 years, 7 months ago) by chl
Branch: MAIN
Changes since 1.138: +1 -2 lines
Diff to previous 1.138 (colored)

break after exit() is useless

ok ray@

Revision 1.138 / (download) - annotate - [select for diffs], Wed Sep 19 13:49:55 2007 UTC (16 years, 8 months ago) by tobias
Branch: MAIN
Changes since 1.137: +10 -7 lines
Diff to previous 1.137 (colored)

Allow lines which do not specify any arguments for command (or cvs).
Sticks at GNU cvs behaviour.

OK joris@

Revision 1.137 / (download) - annotate - [select for diffs], Wed Sep 19 13:36:32 2007 UTC (16 years, 8 months ago) by tobias
Branch: MAIN
Changes since 1.136: +18 -11 lines
Diff to previous 1.136 (colored)

parse global arguments (cvs) and command arguments only once, i.e. first
line of occurence. Nice side-effect: only parse arguments for current
command, not for all.

OK joris@

Revision 1.136 / (download) - annotate - [select for diffs], Wed Sep 19 12:48:41 2007 UTC (16 years, 8 months ago) by tobias
Branch: MAIN
Changes since 1.135: +5 -4 lines
Diff to previous 1.135 (colored)

Print warning about invalid command in .cvsrc only if -V is in use.
OpenCVS defaults to -q, so man page should say "with -V", not "without -q
or -Q".

OK joris@

Revision 1.135 / (download) - annotate - [select for diffs], Wed Sep 19 12:26:16 2007 UTC (16 years, 8 months ago) by tobias
Branch: MAIN
Changes since 1.134: +11 -6 lines
Diff to previous 1.134 (colored)

Next to ' ', '\t' is valid between command and arguments.

OK joris@

Revision 1.134 / (download) - annotate - [select for diffs], Wed Sep 19 12:14:21 2007 UTC (16 years, 8 months ago) by tobias
Branch: MAIN
Changes since 1.133: +8 -3 lines
Diff to previous 1.133 (colored)

Weird, but our goal is compatibility: treat '\t' in front of keyword as '#'.

OK joris@

Revision 1.133 / (download) - annotate - [select for diffs], Wed Sep 19 11:53:27 2007 UTC (16 years, 8 months ago) by tobias
Branch: MAIN
Changes since 1.132: +16 -12 lines
Diff to previous 1.132 (colored)

Usage of fgetln() instead of fgets() in .cvsrc parsing handles line
numbers better and allows longer command arguments.

OK joris@

Revision 1.132 / (download) - annotate - [select for diffs], Mon Sep 10 10:29:12 2007 UTC (16 years, 8 months ago) by tobias
Branch: MAIN
Changes since 1.131: +11 -11 lines
Diff to previous 1.131 (colored)

Fixed segmentation fault that occured during .cvsrc parsing if an invalid
cvs command has been specified.

Spotted by Mathias De Belder <mathias at woei dot be> who also supplied a
patch, although I took his second suggestion.

OK joris@

Revision 1.131 / (download) - annotate - [select for diffs], Fri Sep 7 23:30:30 2007 UTC (16 years, 8 months ago) by tobias
Branch: MAIN
Changes since 1.130: +5 -5 lines
Diff to previous 1.130 (colored)

Do not fatal if getpwuid() fails, instead ignore user configuration files.

OK joris@

Revision 1.130 / (download) - annotate - [select for diffs], Sun Sep 2 12:13:00 2007 UTC (16 years, 8 months ago) by tobias
Branch: MAIN
Changes since 1.129: +4 -14 lines
Diff to previous 1.129 (colored)

Stick at GNU cvs behaviour with Root directive handling: it does not need
to be sent first, can occure multiple times (although this is ignored) but
should be supplied before Directory.

OK joris@

Revision 1.129 / (download) - annotate - [select for diffs], Mon Aug 6 19:16:06 2007 UTC (16 years, 9 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored)

the ellipsis is not an optional argument; while here, sync the usage
and synopsis of commands

lots of good ideas by jmc@

ok jmc@

Revision 1.128 / (download) - annotate - [select for diffs], Sun May 27 21:14:06 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
Changes since 1.127: +3 -1 lines
Diff to previous 1.127 (colored)

Add bounds check for cvs command arguments.  Initial diff by Tobias
Stoeckmann, rearranged to "if (num_items >= BUFSIZ)" format for
readability.

I would have liked to allow our cvs client to accept as many arguments
as the system would allow, but the argument parsing code is surprising
hairy.

OK niallo@.

Revision 1.127 / (download) - annotate - [select for diffs], Sun May 27 04:12:32 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
Changes since 1.126: +1 -1 lines
Diff to previous 1.126 (colored)

Revert, we dealt with the -x flag in the past.  jmc suddenly
remembered we had created a separate section for compatibility
flags.  Oh well, two free commits.

OK jmc@

Revision 1.126 / (download) - annotate - [select for diffs], Sun May 27 03:35:11 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
Changes since 1.125: +2 -2 lines
Diff to previous 1.125 (colored)

Mention -x flag (for compatibility only).  From Tobias Stoeckmann.

Input and OK jmc@

Revision 1.125 / (download) - annotate - [select for diffs], Sun May 27 00:46:31 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
Changes since 1.124: +4 -1 lines
Diff to previous 1.124 (colored)

Call fatal() if extra arguments are given to "opencvs server".  From
Tobias Stoeckmann.

OK niallo@

Revision 1.124 / (download) - annotate - [select for diffs], Sat May 26 20:45:26 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
Changes since 1.123: +3 -2 lines
Diff to previous 1.123 (colored)

cvs_server_path is more appropriate to check than cvs_server_active.

From Tobias Stoeckmann.

OK niallo@

Revision 1.123 / (download) - annotate - [select for diffs], Tue May 22 16:47:22 2007 UTC (17 years ago) by xsa
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

Note that the global -x option is kept for compatibility (for now) and has
no effect.

Revision 1.122 / (download) - annotate - [select for diffs], Wed May 9 07:04:57 2007 UTC (17 years ago) by xsa
Branch: MAIN
Changes since 1.121: +3 -3 lines
Diff to previous 1.121 (colored)

- we do not have -H, zap it.
- add missing `x' flag in getopt() and sort flags.
- sync usage().

Based on initial diff from Tobias Stoeckmann.

Revision 1.121 / (download) - annotate - [select for diffs], Mon Apr 30 08:03:51 2007 UTC (17 years ago) by xsa
Branch: MAIN
Changes since 1.120: +7 -8 lines
Diff to previous 1.120 (colored)

make usage() __dead; from Tobias Stoeckmann.

Revision 1.120 / (download) - annotate - [select for diffs], Mon Apr 30 07:00:02 2007 UTC (17 years ago) by xsa
Branch: MAIN
Changes since 1.119: +2 -1 lines
Diff to previous 1.119 (colored)

missing header; from Tobias Stoeckmann.

Revision 1.119 / (download) - annotate - [select for diffs], Tue Apr 24 13:36:30 2007 UTC (17 years ago) by sobrado
Branch: MAIN
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored)

changes "Usage" to "usage"; sorts options list in cvs history;
the argument to -z is tz, not timezone; argument names to flags
should use lowercase letters; cvs's usage() output should fit
on a 80-column display

ok by jmc@, niallo@ and xsa@

Revision 1.118 / (download) - annotate - [select for diffs], Sat Feb 24 20:52:38 2007 UTC (17 years, 2 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored)

fix comment; from jared r r spiegel

Revision 1.117 / (download) - annotate - [select for diffs], Thu Feb 22 06:42:09 2007 UTC (17 years, 2 months ago) by otto
Branch: MAIN
Changes since 1.116: +9 -5 lines
Diff to previous 1.116 (colored)

general includes cleanup sweep. ok joris@ niallo@

Revision 1.116 / (download) - annotate - [select for diffs], Sat Feb 17 18:23:43 2007 UTC (17 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.115: +8 -7 lines
Diff to previous 1.115 (colored)

cvs_path_cat() removal since we can now easily handle that
functionality w/ xsnprintf(); Initial diff started by thib@.
OK thib@ joris@.

Revision 1.115 / (download) - annotate - [select for diffs], Fri Feb 9 03:30:31 2007 UTC (17 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.114: +5 -7 lines
Diff to previous 1.114 (colored)

strtol(3) -> strtonum(3)

Revision 1.114 / (download) - annotate - [select for diffs], Tue Feb 6 15:24:18 2007 UTC (17 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored)

sort options;

Revision 1.113 / (download) - annotate - [select for diffs], Thu Jan 11 02:35:55 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.112: +2 -6 lines
Diff to previous 1.112 (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.112 / (download) - annotate - [select for diffs], Mon Dec 11 10:53:00 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.111: +2 -1 lines
Diff to previous 1.111 (colored)

global option -n implies -l

Revision 1.111 / (download) - annotate - [select for diffs], Mon Dec 11 07:59:18 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.110: +13 -3 lines
Diff to previous 1.110 (colored)

Permit checkout from a read-only repository using the -R global option
or using the CVSREADONLYFS environment variable.
Request/test/ok todd@. Man page bits courtesy of jmc@.

Revision 1.110 / (download) - annotate - [select for diffs], Tue Nov 28 13:31:19 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.109: +5 -3 lines
Diff to previous 1.109 (colored)

snprintf() -> cvs_path_cat()

Revision 1.109 / (download) - annotate - [select for diffs], Tue Nov 14 15:39:41 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.108: +1 -3 lines
Diff to previous 1.108 (colored)

Add support for the "Set" request.

Revision 1.108 / (download) - annotate - [select for diffs], Tue Nov 14 15:23:50 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.107: +4 -6 lines
Diff to previous 1.107 (colored)

Simplify in cvs_read_rcfile() by using cvs_path_cat();

Revision 1.107 / (download) - annotate - [select for diffs], Sun Jul 9 01:57:51 2006 UTC (17 years, 10 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.106: +2 -1 lines
Diff to previous 1.106 (colored)

handle SIGPIPE correctly.

Revision 1.106 / (download) - annotate - [select for diffs], Fri Jul 7 17:37:17 2006 UTC (17 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.105: +33 -3 lines
Diff to previous 1.105 (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.105 / (download) - annotate - [select for diffs], Wed Jun 28 20:19:05 2006 UTC (17 years, 10 months ago) by reyk
Branch: MAIN
Changes since 1.104: +12 -7 lines
Diff to previous 1.104 (colored)

use quiet mode (-q) by default and add a flag -V for the old "verbose"
mode.  if you really need to know all the details (the old GNU'ish
behaviour), use -V or even -t for tracing.

ok joris@

Revision 1.104 / (download) - annotate - [select for diffs], Tue Jun 13 06:53:45 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored)

be more accurate in describing what happened
when we cannot see the repository the user wants to work with.

Revision 1.103 / (download) - annotate - [select for diffs], Mon Jun 12 13:56:00 2006 UTC (17 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.102: +4 -3 lines
Diff to previous 1.102 (colored)

bring back a working version of the `cvs init' command. OK joris@.

Revision 1.102 / (download) - annotate - [select for diffs], Fri Jun 2 19:10:23 2006 UTC (17 years, 11 months ago) by david
Branch: MAIN
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored)

various spelling fixes

Revision 1.101 / (download) - annotate - [select for diffs], Tue May 30 06:36:09 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.100: +1 -2 lines
Diff to previous 1.100 (colored)

nuke cvs_repo_base variable

Revision 1.100 / (download) - annotate - [select for diffs], Sat May 27 18:18:06 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.99: +17 -1 lines
Diff to previous 1.99 (colored)

lets be nice and abort cvs when we find out there is
no CVSROOT directory where there is suppose to be one.

Revision 1.99 / (download) - annotate - [select for diffs], Sat May 27 18:04:46 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.98: +8 -1 lines
Diff to previous 1.98 (colored)

basic support for CVSROOT/config - only supporting the 'tag' and
'umask' keyword right now.

Revision 1.98 / (download) - annotate - [select for diffs], Sat May 27 03:30:30 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.97: +82 -91 lines
Diff to previous 1.97 (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.97 / (download) - annotate - [select for diffs], Fri Apr 14 02:45:35 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

remove a metric buttload of excessive ()
no binary change; ok ray

Revision 1.96 / (download) - annotate - [select for diffs], Wed Apr 5 01:38:55 2006 UTC (18 years, 1 month ago) by ray
Branch: MAIN
Changes since 1.95: +2 -3 lines
Diff to previous 1.95 (colored)

Use variable names for sizeof, remove casts in front of xmalloc,
use xcalloc and xstrdup where appropriate, and other stuff.

OK joris@

Revision 1.95 / (download) - annotate - [select for diffs], Wed Mar 15 18:24:50 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

bogus idiom

Revision 1.94 / (download) - annotate - [select for diffs], Sun Jan 29 11:17:09 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.93: +12 -24 lines
Diff to previous 1.93 (colored)

spread some fatal() here too;

Revision 1.93 / (download) - annotate - [select for diffs], Thu Jan 26 09:05:31 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.92: +5 -4 lines
Diff to previous 1.92 (colored)

strings cleanup; OK niallo@.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Jan 23 14:13:24 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored)

print complete command name in usage, not aliases.

Revision 1.91 / (download) - annotate - [select for diffs], Mon Jan 2 17:06:10 2006 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.90: +4 -5 lines
Diff to previous 1.90 (colored)

- nuke remaining err(), errx() and warnx() instances.
- make cvs_log_init() return type void.
ok joris@.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Jan 2 08:11:56 2006 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.89: +2 -14 lines
Diff to previous 1.89 (colored)

#include's cleanup; ok joris@ niallo@.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Dec 19 17:43:01 2005 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.88: +3 -7 lines
Diff to previous 1.88 (colored)

use fatal() if getpwuid() fails; OK joris@.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Dec 10 20:27:45 2005 UTC (18 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.87: +12 -36 lines
Diff to previous 1.87 (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.87 / (download) - annotate - [select for diffs], Sat Dec 3 15:07:20 2005 UTC (18 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.86: +3 -1 lines
Diff to previous 1.86 (colored)

fix date handling in opencvs, this was broken since the very start.
now, when you checkout a tree with gnu cvs, opencvs no longer sees all
the files as modified, and visa versa.

this actually makes gnu cvs and opencvs dance together in working copies.

Revision 1.86 / (download) - annotate - [select for diffs], Sat Nov 12 21:34:48 2005 UTC (18 years, 6 months ago) by niallo
Branch: MAIN
Changes since 1.85: +1 -6 lines
Diff to previous 1.85 (colored)

- remove strtab stuff. serves no useful purpose.

diff is from joris@, committing on his behalf because his net connection
is very dodgy right now.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Oct 7 21:47:32 2005 UTC (18 years, 7 months ago) by reyk
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored)

knf and spacing, ok joris@

Revision 1.84 / (download) - annotate - [select for diffs], Wed Aug 10 14:49:20 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

fgets() expects the 2nd arg to be an int. OK jfb@ joris@.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Aug 10 08:05:00 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.82: +6 -3 lines
Diff to previous 1.82 (colored)

add global -w option and document it; ok jmc joris

Revision 1.82 / (download) - annotate - [select for diffs], Wed Aug 10 07:39:48 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.81: +11 -11 lines
Diff to previous 1.81 (colored)

use correct return codes when we exit(); ok joris

Revision 1.81 / (download) - annotate - [select for diffs], Tue Aug 9 08:31:49 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

add missing [-T tmpdir] in usage(), spotted by jmc@.

Revision 1.80 / (download) - annotate - [select for diffs], Thu Aug 4 13:31:14 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.79: +26 -2 lines
Diff to previous 1.79 (colored)

handle TMPDIR environment variable as well as -T <tmpdir> global option;
Ok jfb@ joris@.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Aug 3 14:43:08 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.78: +16 -16 lines
Diff to previous 1.78 (colored)

check only once for the HOME environment variable and reuse
its value (if any) to check for the .cvsrc and .cvsignore files;
ok jfb@ joris@.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Aug 1 19:48:18 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.77: +8 -3 lines
Diff to previous 1.77 (colored)

respect $HOME when checking for .cvsrc; ok jfb@ joris@.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Jul 30 00:10:39 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

add missing -r in usage();

Revision 1.76 / (download) - annotate - [select for diffs], Thu Jul 28 13:41:38 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.75: +4 -1 lines
Diff to previous 1.75 (colored)

respect CVSREAD env. variable; ok jfb@.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Jul 25 12:05:43 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.74: +5 -5 lines
Diff to previous 1.74 (colored)

KNF;

Revision 1.74 / (download) - annotate - [select for diffs], Sun Jul 24 17:48:05 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

some more `if (!var)' cleanup;

Revision 1.73 / (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.72: +5 -3 lines
Diff to previous 1.72 (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.72 / (download) - annotate - [select for diffs], Thu Jul 7 14:27:57 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.71: +2 -3 lines
Diff to previous 1.71 (colored)



remove trailing whitespaces

from deraadt@

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jun 16 07:46:42 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored)

match gnu/usr.bin/cvs error msg output on bad CVSROOT error; ok joris

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jun 10 13:34:23 2005 UTC (18 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.69: +16 -7 lines
Diff to previous 1.69 (colored)



allow comments in the cvsrc file.
reported by david@

Revision 1.69 / (download) - annotate - [select for diffs], Wed Jun 1 17:44:34 2005 UTC (18 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)



missed these in previous commits.

Revision 1.68 / (download) - annotate - [select for diffs], Tue May 31 08:58:47 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.67: +5 -5 lines
Diff to previous 1.67 (colored)

headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;

Revision 1.67 / (download) - annotate - [select for diffs], Tue May 24 04:12:25 2005 UTC (18 years, 11 months ago) by jfb
Branch: MAIN
Changes since 1.66: +4 -268 lines
Diff to previous 1.66 (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.66 / (download) - annotate - [select for diffs], Mon May 23 18:10:34 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)



add -n flag to cvs usage

ok jfb@

Revision 1.65 / (download) - annotate - [select for diffs], Fri May 20 18:26:49 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.64: +4 -2 lines
Diff to previous 1.64 (colored)

first bits of the `cvs -n' option; ok jfb joris

Revision 1.64 / (download) - annotate - [select for diffs], Thu May 19 15:37:50 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

- add missing flags for the log command
- enable the -h -N -R -t options
ok joris

Revision 1.63 / (download) - annotate - [select for diffs], Wed May 18 11:53:38 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

add `dir' arg in release cmd synopsis;

Revision 1.62 / (download) - annotate - [select for diffs], Tue May 17 16:45:07 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

enable `release' command; tested & ok joris@.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Apr 25 19:09:15 2005 UTC (19 years ago) by jfb
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

resurrect missing parts to generate rcsdiff(1)-style diffs with the -n
flag

ok xsa

Revision 1.60 / (download) - annotate - [select for diffs], Mon Apr 25 17:59:16 2005 UTC (19 years ago) by jfb
Branch: MAIN
Changes since 1.59: +9 -3 lines
Diff to previous 1.59 (colored)

* add missing 'R' flag in diff synopsis
* add the CVS_EX_BADROOT return code to indicate that there was no
  CVSROOT given or it was invalid

ok joris, xsa

Revision 1.59 / (download) - annotate - [select for diffs], Fri Apr 22 15:06:28 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

sync add command usage w/ man page; joris ok

Revision 1.58 / (download) - annotate - [select for diffs], Fri Apr 22 03:38:56 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)



missing '-R' (force recursion) option for diff.

noticed by brad@

Revision 1.57 / (download) - annotate - [select for diffs], Thu Apr 21 20:56:12 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

let the `cvs remove' command work with no file(s) specified as args;
joris ok

Revision 1.56 / (download) - annotate - [select for diffs], Thu Apr 21 04:37:11 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.55: +4 -3 lines
Diff to previous 1.55 (colored)

* fix the tag command's synopsis
* prepend __progname and the command string when displaying command
  usage

Revision 1.55 / (download) - annotate - [select for diffs], Wed Apr 20 23:11:30 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.54: +5 -11 lines
Diff to previous 1.54 (colored)

check the validity of tag names passed to the tag command, and print
an abort message if the tag is invalid.  also, match gnu cvs behaviour
with regards to command usage output on usage errors.

ok joris

Revision 1.54 / (download) - annotate - [select for diffs], Sat Apr 16 19:05:02 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.53: +8 -3 lines
Diff to previous 1.53 (colored)

snprintf return value check; joris ok

Revision 1.53 / (download) - annotate - [select for diffs], Tue Apr 12 19:35:32 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52 (colored)



don't show unneeded error messages.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Apr 12 15:18:13 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

tell about the CVS_EX_* error codes, as we do not use sysexits.h anymore;
ok joris@.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Apr 12 14:58:40 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.50: +23 -4 lines
Diff to previous 1.50 (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.50 / (download) - annotate - [select for diffs], Mon Apr 11 18:02:58 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.49: +1 -2 lines
Diff to previous 1.49 (colored)



don't include sysexits.h now we don't use those error codes
anymore.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Apr 11 17:56:27 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.48: +8 -8 lines
Diff to previous 1.48 (colored)



remove EX_USAGE error codes

ok jfb@

Revision 1.48 / (download) - annotate - [select for diffs], Wed Apr 6 16:35:25 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.47: +5 -7 lines
Diff to previous 1.47 (colored)

make cvs_findcmd() available to the rest of the program

ok joris@

Revision 1.47 / (download) - annotate - [select for diffs], Sun Apr 3 17:32:50 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

first round of EX_* exit codes removal; ok joris@.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 31 17:18:24 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)



make sure the server command can still be reached with the
new framework.

ok xsa@

Revision 1.45 / (download) - annotate - [select for diffs], Wed Mar 30 17:43:04 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.44: +54 -52 lines
Diff to previous 1.44 (colored)



move all the client commands to the new command framework.
eliminates a lot of duplicate code.

ok jfb@

Revision 1.44 / (download) - annotate - [select for diffs], Thu Mar 24 01:21:49 2005 UTC (19 years, 2 months ago) by jfb
Branch: MAIN
Changes since 1.43: +6 -1 lines
Diff to previous 1.43 (colored)

add the string table code and enable it on startup

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 24 01:03:41 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.42: +31 -40 lines
Diff to previous 1.42 (colored)



add the first pieces of our new command framework.

ok jfb@

Revision 1.42 / (download) - annotate - [select for diffs], Tue Mar 8 16:13:30 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)



make cvs_findcmd() and cvs_read_rcfile() static.

ok xsa@, jfb@

Revision 1.41 / (download) - annotate - [select for diffs], Sun Mar 6 21:09:00 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)



initial support for the admin command. Not all options are working yet.

ok xsa@ jfb@

Revision 1.40 / (download) - annotate - [select for diffs], Fri Feb 25 20:30:36 2005 UTC (19 years, 2 months ago) by jfb
Branch: MAIN
Changes since 1.39: +5 -2 lines
Diff to previous 1.39 (colored)

exit with an error message if cvs_file_init() fails

Revision 1.39 / (download) - annotate - [select for diffs], Thu Feb 3 23:00:42 2005 UTC (19 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored)

be more consistent everywhere with `-k mode' option;
ok jfb@ jmc@ Joris Vink;

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jan 24 18:48:23 2005 UTC (19 years, 3 months ago) by jfb
Branch: MAIN
Changes since 1.37: +15 -13 lines
Diff to previous 1.37 (colored)

sync usage of some of the commands, and start filling the cmd_opts
field, which will later be used as the argument to getopt() instead
of hardcoding the option strings.  This will allow us to use the
same handler for commands which have a local and remote version
(i.e. rdiff, rlog, rtag)

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jan 24 17:42:26 2005 UTC (19 years, 3 months ago) by jfb
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

* use the global cvs_msg instead of our own
* support the use of RCS keyword expansion flags in client mode

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jan 24 16:12:56 2005 UTC (19 years, 3 months ago) by jfb
Branch: MAIN
Changes since 1.35: +12 -12 lines
Diff to previous 1.35 (colored)

add missing command IDs

reviewed by xsa@ and Joris Vink

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 14 18:02:04 2005 UTC (19 years, 4 months ago) by jfb
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

support the -D option to the tag command and sync usage for the tag
command

from Joris Vink, with modifications by me

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 13 23:39:42 2005 UTC (19 years, 4 months ago) by jfb
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

resurrect the -N and -p options to the diff command

requested and tested by brad@, thanks!

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jan 13 18:47:31 2005 UTC (19 years, 4 months ago) by jfb
Branch: MAIN
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

more widespread use of cvs_msg, and free it when we are done

diff by Joris Vink and me

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 13 16:32:46 2005 UTC (19 years, 4 months ago) by jfb
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

fix the annotate usage (there is no -F flag) and add the missing bits
so the -r and -f arguments are supported, and complain if both -D
and -r are given.  GNU CVS silently accepts to have both specified,
but does not produce output as a result.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 6 20:39:27 2005 UTC (19 years, 4 months ago) by jfb
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

the status command now supports the same arguments as its gnu cvs
counterpart (-lRv)

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 6 19:56:38 2005 UTC (19 years, 4 months ago) by jfb
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Improved and working import code from Joris Vink with modifications
from me (client mode only for the moment)

Revision 1.29 / (download) - annotate - [select for diffs], Wed Dec 22 00:38:25 2004 UTC (19 years, 5 months ago) by david
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

spelling corrections; ok jmc@

Revision 1.28 / (download) - annotate - [select for diffs], Tue Dec 21 20:59:57 2004 UTC (19 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

s/files/file/ in `cvs remove' usage, like in the other commands;

Revision 1.27 / (download) - annotate - [select for diffs], Tue Dec 21 18:47:58 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.26: +130 -3 lines
Diff to previous 1.26 (colored)

gnu CVS has an undocumented -s command-line option to set a variable,
so let's support it too.  This will also be required to implement the
`Set' request handler.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Dec 21 18:15:55 2004 UTC (19 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

on the way to `cvs remove'; ok jfb

Revision 1.25 / (download) - annotate - [select for diffs], Wed Dec 15 16:28:14 2004 UTC (19 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

print line number of warnings in .cvsrc; ok jfb@.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Dec 15 06:11:40 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Permit the client to generate trace output when the -t option is given
by using the LP_TRACE level to cvs_log().  Traces are filtered by
default.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 14 19:56:35 2004 UTC (19 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.22: +6 -3 lines
Diff to previous 1.22 (colored)

be more verbose for .cvsrc errors/warnings; ok jfb@.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Dec 14 19:11:54 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

support the tag command

from Joris Vink

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 13 16:10:30 2004 UTC (19 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

print full path of .cvsrc in log messages; jfb@ ok.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Dec 13 13:55:10 2004 UTC (19 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.19: +2 -4 lines
Diff to previous 1.19 (colored)

sync SYNOPSIS and usage();
ok jfb@

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 9 20:03:27 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

support the 'annotate' command, will need some polishing

Revision 1.18 / (download) - annotate - [select for diffs], Tue Dec 7 17:10:56 2004 UTC (19 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.17: +10 -18 lines
Diff to previous 1.17 (colored)

less whitespace, more pretty.  ok jfb

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 7 06:33:10 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.16: +162 -66 lines
Diff to previous 1.16 (colored)

add missing parts for support of .cvsrc

tested, tweaked by and ok djm@

Revision 1.16 / (download) - annotate - [select for diffs], Mon Dec 6 21:58:31 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

add missing aliases for the status, tag, update and version commands

original patch from Peter Hessler, with additions by me

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 6 21:03:12 2004 UTC (19 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)

tighten vertical spacing for else; jfb ok

Revision 1.14 / (download) - annotate - [select for diffs], Tue Nov 9 23:06:01 2004 UTC (19 years, 6 months ago) by krapht
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (colored)

* don't use the import code just yet, it uses new functions that aren't
  tested enough yet

Revision 1.13 / (download) - annotate - [select for diffs], Tue Nov 9 21:01:36 2004 UTC (19 years, 6 months ago) by krapht
Branch: MAIN
Changes since 1.12: +36 -23 lines
Diff to previous 1.12 (colored)

* don't setup a signal handler for SIGCHLD yet
* ignore SIGPIPE
* add the getopt() argument format to the command structure

Revision 1.12 / (download) - annotate - [select for diffs], Thu Aug 12 17:51:05 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.11: +3 -0 lines
Diff to previous 1.11 (colored)

After the command is done executing, if cvs_files isn't NULL, free the
file structure

Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 6 14:49:02 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.10: +16 -2 lines
Diff to previous 1.10 (colored)

Handle the '-b' and '-x' global options even if we don't support them,
and add support for case insensitivity

Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 6 13:01:09 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.9: +5 -0 lines
Diff to previous 1.9 (colored)

Have one global hierarchy of files that are being affected.  This will
allow us to build the tree in memory as well as on disk for operations
such as checkout and update.  It will also allow us to write all Entries
in a single disk write and to avoid creating empty directories on updates
when pruning is requested

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jul 30 23:13:24 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.8: +0 -2 lines
Diff to previous 1.8 (colored)

No more global cvs_root

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 30 18:58:56 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.7: +1 -0 lines
Diff to previous 1.7 (colored)

missing include

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 30 17:44:48 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

Plug in the handler for `cvs status'

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 30 01:49:22 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.5: +32 -28 lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Thu Jul 29 17:48:19 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.4: +0 -1 lines
Diff to previous 1.4 (colored)

undefine DEBUG

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 26 15:56:42 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Add the handler for the checkout command

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 14 19:26:07 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

add a usage string for cvs diff options

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 14 03:33:09 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

cvsignore support and simpler API for file access

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Jul 13 22:02:40 2004 UTC (19 years, 10 months ago) by jfb
Branch: OpenCVS
CVS Tags: OpenCVS_0_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (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, 10 months ago) by jfb
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.