OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.101 / (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_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, 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, HEAD
Changes since 1.100: +4 -5 lines
Diff to previous 1.100 (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.100 / (download) - annotate - [select for diffs], Sat Oct 15 22:20:17 2016 UTC (7 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

Quiet compiler warnings.  OK tomc@ tb@

Revision 1.99 / (download) - annotate - [select for diffs], Thu Oct 13 20:51:25 2016 UTC (7 years, 7 months ago) by fcambus
Branch: MAIN
Changes since 1.98: +4 -3 lines
Diff to previous 1.98 (colored)

rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.

OK millert@

Revision 1.98 / (download) - annotate - [select for diffs], Mon Dec 1 21:58:46 2014 UTC (9 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored)

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

Revision 1.97 / (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.96: +2 -2 lines
Diff to previous 1.96 (colored)

unsigned char for ctype. ok deraadt

Revision 1.96 / (download) - annotate - [select for diffs], Mon Jun 3 17:04:35 2013 UTC (10 years, 11 months ago) by jcs
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.95: +7 -3 lines
Diff to previous 1.95 (colored)

properly handle commitid tokens found in rcs files

ok deraadt

Revision 1.95 / (download) - annotate - [select for diffs], Fri Jul 30 21:47:18 2010 UTC (13 years, 9 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.94: +19 -9 lines
Diff to previous 1.94 (colored)

Check date_parse return values.

OK xsa

Revision 1.94 / (download) - annotate - [select for diffs], Fri Jul 23 21:46:05 2010 UTC (13 years, 9 months ago) by ray
Branch: MAIN
Changes since 1.93: +10 -10 lines
Diff to previous 1.93 (colored)

Reduce variable/function name and whitespace differences between
cvs/rcs.

OK xsa zinovik

Revision 1.93 / (download) - annotate - [select for diffs], Thu Mar 26 17:30:04 2009 UTC (15 years, 1 month ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.92: +7 -7 lines
Diff to previous 1.92 (colored)

"Logging dirname" needs to be properly shown when running log/rlog.
spotted by deraadt@

Revision 1.92 / (download) - annotate - [select for diffs], Mon Mar 23 15:13:58 2009 UTC (15 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.91: +0 -2 lines
Diff to previous 1.91 (colored)

remove debug, bleh

Revision 1.91 / (download) - annotate - [select for diffs], Mon Mar 23 15:10:09 2009 UTC (15 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.90: +188 -5 lines
Diff to previous 1.90 (colored)

add rlog -d support, ported from openrcs by
Josh Elsasser <josh@elsasser.org>

Revision 1.90 / (download) - annotate - [select for diffs], Fri Sep 12 13:38:35 2008 UTC (15 years, 8 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.89: +6 -6 lines
Diff to previous 1.89 (colored)

Move the revision selection in front of output, so errors won't mix up
with output.  Matches GNU cvs.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jun 14 04:34:08 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (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.88 / (download) - annotate - [select for diffs], Mon Jun 9 23:33:15 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.87: +1 -4 lines
Diff to previous 1.87 (colored)

log already gets it FILE_UNKNOWN warning spewed out from cvs_file_classify,
so do not mention it again in cvs_log_local();

Revision 1.87 / (download) - annotate - [select for diffs], Sun Mar 2 19:05:34 2008 UTC (16 years, 2 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.86: +4 -2 lines
Diff to previous 1.86 (colored)

Print the right synopsis for commands on error (especially if commands
share the same function: (r)tag, etc.).

ok joris

Revision 1.86 / (download) - annotate - [select for diffs], Sat Feb 9 14:25:02 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.85: +7 -3 lines
Diff to previous 1.85 (colored)

make sure we do not call rcsnum_addmagic() directly on
a revision number in our symbol list if we want to correctly
reuse that symbol later on in rcs_translate_tag();

Revision 1.85 / (download) - annotate - [select for diffs], Sat Feb 9 14:03:20 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.84: +5 -3 lines
Diff to previous 1.84 (colored)

- always remove the additional .0 from magic branches, even when
  running the log command.

- change getlog.c so it will add any .0 for magic branches in its output
  if required


less confusing for rcs_translate_tag();

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

r* commands have their own usage; don't check usage of their working dir
equivalents.

OK joris@, xsa@

Revision 1.83 / (download) - annotate - [select for diffs], Thu Jan 31 22:09:05 2008 UTC (16 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

Zap trailing whitespaces.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Jan 31 20:29:16 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.81: +41 -2 lines
Diff to previous 1.81 (colored)

add changed lines support to log and rlog (the + and - stuff)
from Pierre Riteau;

Revision 1.81 / (download) - annotate - [select for diffs], Thu Jan 31 10:15:05 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
Changes since 1.80: +4 -2 lines
Diff to previous 1.80 (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.80 / (download) - annotate - [select for diffs], Sat Jan 12 22:39:32 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored)

Added missing break statements.

OK xsa@

> Diff from Igor Zinovik <zinovik at cs dot karelia dot ru>

Revision 1.79 / (download) - annotate - [select for diffs], Thu Jan 10 11:25:27 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.78: +20 -8 lines
Diff to previous 1.78 (colored)

Synced rlog's usage checks and with rtag. Also unbreaks rtag and rlog with
GNU cvs on server-side.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Sep 24 22:06:28 2007 UTC (16 years, 7 months ago) by joris
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

oops i was suppose to pass cvs_directory_tag to cvs_file_classify().

Revision 1.77 / (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.76: +2 -2 lines
Diff to previous 1.76 (colored)

better branching/sticky tag support, no branch commits yet though.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jul 17 19:59:25 2007 UTC (16 years, 10 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored)

Correct function name in error string.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Jul 17 19:56:08 2007 UTC (16 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.74: +6 -6 lines
Diff to previous 1.74 (colored)

Simplify the way we check wether the issued command is `log' or `rlog'.
Input and OK ray@.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Jul 16 12:16:01 2007 UTC (16 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.73: +5 -2 lines
Diff to previous 1.73 (colored)

Do not display the `Working file:' line if the issued command is `rlog'.
Matches GNU's behaviour. OK joris@.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Jun 28 21:38:09 2007 UTC (16 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

Sync revisions and time buffers size to be consistent with each others.
Simplifies further size tweaks if needed.
OK niallo@ ray@.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Jun 26 02:24:10 2007 UTC (16 years, 10 months ago) by niallo
Branch: MAIN
Changes since 1.71: +20 -8 lines
Diff to previous 1.71 (colored)

add support for cvs rlog.
from Mickey.

ok joris@ ray@

Revision 1.71 / (download) - annotate - [select for diffs], Thu Feb 22 06:42:09 2007 UTC (17 years, 2 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.70: +3 -4 lines
Diff to previous 1.70 (colored)

general includes cleanup sweep. ok joris@ niallo@

Revision 1.70 / (download) - annotate - [select for diffs], Fri Feb 9 03:49:15 2007 UTC (17 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (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.69 / (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.68: +2 -1 lines
Diff to previous 1.68 (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.68 / (download) - annotate - [select for diffs], Fri Nov 10 15:49:03 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.67: +3 -4 lines
Diff to previous 1.67 (colored)

fix -w

Revision 1.67 / (download) - annotate - [select for diffs], Wed Nov 8 22:05:52 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.66: +79 -17 lines
Diff to previous 1.66 (colored)

[-s states] and [-w logins] bits.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Oct 24 13:15:34 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.65: +66 -22 lines
Diff to previous 1.65 (colored)

bring back support for -h, -N, -R, and -t.
OK joris@.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jul 7 17:37:17 2006 UTC (17 years, 10 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.64: +44 -25 lines
Diff to previous 1.64 (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.64 / (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.63: +2 -3 lines
Diff to previous 1.63 (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.63 / (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.62: +2 -3 lines
Diff to previous 1.62 (colored)

in preparation for the new remote code, proto.h becomes obsolete.

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

various spelling fixes

Revision 1.61 / (download) - annotate - [select for diffs], Tue May 30 21:34:03 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

change cvs_file_classify here to, forgot to commit this
when i changed its arguments in the last commit.

Revision 1.60 / (download) - annotate - [select for diffs], Mon May 29 18:00:02 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.59: +3 -1 lines
Diff to previous 1.59 (colored)

add trace messages for debugging purpose

Revision 1.59 / (download) - annotate - [select for diffs], Mon May 29 06:29:49 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.58: +7 -1 lines
Diff to previous 1.58 (colored)

i forgot to handle directories inside the 'log' code,
which resulted in a very painfull segfault later on.

found by reyk@

Revision 1.58 / (download) - annotate - [select for diffs], Sun May 28 21:35:58 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.57: +4 -5 lines
Diff to previous 1.57 (colored)

teach log how to handle the revisions passed on the command line.
the following now works:
'opencvs log -r1.5:1.15 foobar'

Revision 1.57 / (download) - annotate - [select for diffs], Sun May 28 21:11:12 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.56: +108 -231 lines
Diff to previous 1.56 (colored)

add basic 'cvs log' support.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Apr 14 22:33:15 2006 UTC (18 years, 1 month ago) by niallo
Branch: MAIN
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored)

- swap a hack for a slightly nicer hack using a global variable.  this avoids
adding a really nasty hack to make some upcoming rlog fixes from joris work.

ok joris@

Revision 1.55 / (download) - annotate - [select for diffs], Mon Feb 6 16:21:43 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.54: +29 -22 lines
Diff to previous 1.54 (colored)

- use bitwise flags
- add missing option in remote handler

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jan 30 17:58:47 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

strerror() -> rcs_errstr() when passing rcs_errno as argument;

Revision 1.53 / (download) - annotate - [select for diffs], Sun Jan 29 11:09:45 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

RCS_PARSE_FULLY needed here too, as in rlog(1);

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jan 27 15:26:38 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored)

more errors handling cleanup;

Revision 1.51 / (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.50: +2 -7 lines
Diff to previous 1.50 (colored)

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

Revision 1.50 / (download) - annotate - [select for diffs], Fri Dec 30 16:42:13 2005 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.49: +6 -7 lines
Diff to previous 1.49 (colored)

minor style nits;

Revision 1.49 / (download) - annotate - [select for diffs], Fri Dec 30 02:03:28 2005 UTC (18 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.48: +17 -23 lines
Diff to previous 1.48 (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.48 / (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.47: +2 -3 lines
Diff to previous 1.47 (colored)

cvs_rcs_getpath() cannot fail anymore;

Revision 1.47 / (download) - annotate - [select for diffs], Thu Nov 3 15:57:40 2005 UTC (18 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

output tweaks;

Revision 1.46 / (download) - annotate - [select for diffs], Mon Aug 8 14:48:27 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.45: +2 -3 lines
Diff to previous 1.45 (colored)

zap unused var;

Revision 1.45 / (download) - annotate - [select for diffs], Fri Aug 5 10:17:14 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.44: +5 -5 lines
Diff to previous 1.44 (colored)

minor KNF;

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jul 27 16:42:19 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

use LP_NOTICE instead of LP_INFO where appropriate;

Revision 1.43 / (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.42: +8 -8 lines
Diff to previous 1.42 (colored)

KNF;

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: +2 -2 lines
Diff to previous 1.41 (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], Thu Jul 21 11:42:24 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.40: +1 -3 lines
Diff to previous 1.40 (colored)

<sys/param.h> is already included in "cvs.h", no need to duplicate;

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jul 19 02:18:05 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

missing CF_IGNORE, CF_NOSYMS and CF_SORT flags.
gets the local mode of 'log' a bit closer to reality.

problems noticed by deraadt@

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jul 15 08:39:14 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.38: +10 -3 lines
Diff to previous 1.38 (colored)

if a file has been locally added and not committed, handle it with proper
warning message;

Revision 1.38 / (download) - annotate - [select for diffs], Thu Jul 14 06:50:50 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.37: +3 -12 lines
Diff to previous 1.37 (colored)

use cvs_rcs_getpath();

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jul 11 08:44:16 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

display warning message about an unknown file only if -Q is not specified;

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jul 11 08:36:58 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

display info message only if -q is not specified;

Revision 1.35 / (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.34: +3 -3 lines
Diff to previous 1.34 (colored)



remove trailing whitespaces

from deraadt@

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jul 1 15:00:22 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

|| should && instead ...

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jul 1 14:55:30 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.32: +30 -26 lines
Diff to previous 1.32 (colored)

more output tweaks in server mode ..

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 1 14:29:13 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.31: +18 -10 lines
Diff to previous 1.31 (colored)

fix output when using in server mode; more to come ... ok joris

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

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

Revision 1.30 / (download) - annotate - [select for diffs], Sun May 29 14:30:38 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

add missing options in usage..

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 24 04:12:25 2005 UTC (19 years ago) by jfb
Branch: MAIN
Changes since 1.28: +36 -11 lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Fri May 20 20:00:53 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)



correct wrong error code usage.

ok jfb@, xsa@

Revision 1.27 / (download) - annotate - [select for diffs], Fri May 20 16:57:31 2005 UTC (19 years ago) by jfb
Branch: MAIN
Changes since 1.26: +5 -4 lines
Diff to previous 1.26 (colored)

return CVS_EX_PROTO on protocol errors

ok joris

Revision 1.26 / (download) - annotate - [select for diffs], Thu May 19 16:11:10 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.25: +5 -2 lines
Diff to previous 1.25 (colored)

handle -t option locally too; joris ok

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

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

Revision 1.24 / (download) - annotate - [select for diffs], Wed May 11 22:50:09 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)



missing CF_IGNORE flag

Revision 1.23 / (download) - annotate - [select for diffs], Mon Apr 18 21:02:50 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.22: +2 -7 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Sat Apr 16 20:05:05 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.21: +8 -3 lines
Diff to previous 1.21 (colored)

more snprintf return value check; joris ok

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 13 19:44:42 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.20: +56 -41 lines
Diff to previous 1.20 (colored)

* accept the -N option to suppress logging of tags
* print locks, access entries and description in local mode
* cleanup and get rid of unused variables

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 13 16:37:50 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.19: +82 -68 lines
Diff to previous 1.19 (colored)

cleanup and split the log code into two separate functions for local
and remote, and a first stab at the code for local log

Revision 1.19 / (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.18: +4 -4 lines
Diff to previous 1.18 (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.18 / (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.17: +1 -2 lines
Diff to previous 1.17 (colored)



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

Revision 1.17 / (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.16: +2 -2 lines
Diff to previous 1.16 (colored)



remove EX_USAGE error codes

ok jfb@

Revision 1.16 / (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.15: +20 -49 lines
Diff to previous 1.15 (colored)



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

ok jfb@

Revision 1.15 / (download) - annotate - [select for diffs], Sat Mar 26 08:09:54 2005 UTC (19 years, 1 month ago) by tedu
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

fix a variety of things i found at coverity.  ok joris@

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 27 00:22:08 2005 UTC (19 years, 2 months ago) by jfb
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Many improvements to the RCS support:

- make it possible to specify creation and the file mode
  in rcs_open()
- implicitly write the contents to disk on rcs_close() if the
  RCS handle has been changed
- fix a bug in the output of the `expand' keyword
- add functions to retrieve and modify the expansion mode
- rcs_parse() shouldn't be available to the outside
- empty string instead of `(null)' if there is no description

ok Joris

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: +10 -7 lines
Diff to previous 1.12 (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, 5 months ago) by jfb
Branch: MAIN
Changes since 1.11: +55 -60 lines
Diff to previous 1.11 (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], Tue Dec 14 20:19:37 2004 UTC (19 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

fix path to RCS file; jfb@ ok.

Revision 1.10 / (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.9: +10 -12 lines
Diff to previous 1.9 (colored)

less whitespace, more pretty.  ok jfb

Revision 1.9 / (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.8: +5 -9 lines
Diff to previous 1.8 (colored)

tighten vertical spacing for else; jfb ok

Revision 1.8 / (download) - annotate - [select for diffs], Mon Dec 6 03:13:52 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Get rid of a gcc warning

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 26 16:23:50 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.6: +15 -12 lines
Diff to previous 1.6 (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.6 / (download) - annotate - [select for diffs], Thu Nov 18 15:54:17 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.5: +115 -16 lines
Diff to previous 1.5 (colored)

Make the 'cvs log' command work in client mode, mostly based on the
code from update

Revision 1.5 / (download) - annotate - [select for diffs], Fri Aug 13 13:37:49 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.4: +16 -10 lines
Diff to previous 1.4 (colored)

Cleanup the code, will need rework

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 31 01:14:21 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.3: +4 -13 lines
Diff to previous 1.3 (colored)

Remove old code

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 30 01:49:23 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (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.2 / (download) - annotate - [select for diffs], Thu Jul 29 18:23:26 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.1: +0 -2 lines
Diff to previous 1.1 (colored)

No need to import the `cvs_root' symbol anymore, it is done in cvs.h

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.