OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.88 / (download) - annotate - [select for diffs], Wed Jan 27 07:18:17 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.87: +6 -6 lines
Diff to previous 1.87 (colored)

fix -fno-common issues; ok mortimer

Revision 1.87 / (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.86: +2 -2 lines
Diff to previous 1.86 (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.86 / (download) - annotate - [select for diffs], Wed May 31 16:13:25 2017 UTC (6 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.85: +46 -51 lines
Diff to previous 1.85 (colored)

Fix opencvs tag so it does not attempt to to local operations in a remote setup.

While here make sure the "up-to-date" check (-c) works as one expects.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Oct 27 07:12:02 2016 UTC (7 years, 6 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.84: +2 -3 lines
Diff to previous 1.84 (colored)

minor whitespace fixes.

Revision 1.84 / (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.83: +7 -8 lines
Diff to previous 1.83 (colored)

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

OK millert@

Revision 1.83 / (download) - annotate - [select for diffs], Tue Dec 22 21:36:57 2015 UTC (8 years, 4 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

commited -> committed

Revision 1.82 / (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.81: +8 -12 lines
Diff to previous 1.81 (colored)

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

Revision 1.81 / (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.80: +3 -3 lines
Diff to previous 1.80 (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.80 / (download) - annotate - [select for diffs], Thu Oct 28 12:30:27 2010 UTC (13 years, 6 months ago) by tobias
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, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored)

Fix memory leak.

ok stsp, zinovik

Revision 1.79 / (download) - annotate - [select for diffs], Tue Mar 24 18:33:25 2009 UTC (15 years, 1 month ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.78: +4 -6 lines
Diff to previous 1.78 (colored)

have CVS_OP_TAG and CVS_OP_RTAG use RCS_WRITE flag
when calling rcs_open(), so it gets automaticly synced
at the end of operations for that file instead of explicitly
calling rcs_write() when you're in RCS_READ mode only.

while here, make sure we do not try to free an uninitialized list.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Mar 22 18:41:25 2009 UTC (15 years, 2 months ago) by tobias
Branch: MAIN
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored)

style

Revision 1.77 / (download) - annotate - [select for diffs], Sun Mar 22 18:40:55 2009 UTC (15 years, 2 months ago) by tobias
Branch: MAIN
Changes since 1.76: +3 -4 lines
Diff to previous 1.76 (colored)

Avoid the usage of uninitialized value, which even might result in a memory
leak if a file has no line in CVS/Entries.

ok joris

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jun 20 14:04:29 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.75: +4 -1 lines
Diff to previous 1.75 (colored)

Properly send -D arguments to server when run as a client.  Issue spotted
by sthen.

ok joris

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

Support the addition of new files in branches.

ok joris

Revision 1.74 / (download) - annotate - [select for diffs], Tue Jun 10 01:00:34 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.73: +120 -2 lines
Diff to previous 1.73 (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.73 / (download) - annotate - [select for diffs], Tue Mar 18 13:00:12 2008 UTC (16 years, 2 months ago) by reyk
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

sync the usage with the manpage, use "symbolic_tag" instead of "tag"
for the argument to distinguish it from the command keyword which is
less confusing.

ok joris@

Revision 1.72 / (download) - annotate - [select for diffs], Wed Mar 12 13:54:49 2008 UTC (16 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored)

missing rcsnum_free();
from Igor Zinovik

Revision 1.71 / (download) - annotate - [select for diffs], Sun Mar 9 03:14:52 2008 UTC (16 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (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.70 / (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.69: +4 -2 lines
Diff to previous 1.69 (colored)

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

ok joris

Revision 1.69 / (download) - annotate - [select for diffs], Sat Mar 1 21:29:37 2008 UTC (16 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

spacing

Revision 1.68 / (download) - annotate - [select for diffs], Sat Mar 1 20:03:56 2008 UTC (16 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.67: +4 -3 lines
Diff to previous 1.67 (colored)

goodbye rcs_errno - we didnt use you and you wont be missed

Revision 1.67 / (download) - annotate - [select for diffs], Sat Feb 9 13:03:29 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

simplify some stuff;

Revision 1.66 / (download) - annotate - [select for diffs], Sat Feb 9 11:56:58 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.65: +6 -5 lines
Diff to previous 1.65 (colored)

spacing police

Revision 1.65 / (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.64: +3 -2 lines
Diff to previous 1.64 (colored)

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

OK joris@, xsa@

Revision 1.64 / (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.63: +2 -2 lines
Diff to previous 1.63 (colored)

Zap trailing whitespaces.

Revision 1.63 / (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.62: +4 -2 lines
Diff to previous 1.62 (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.62 / (download) - annotate - [select for diffs], Mon Jan 28 20:31:07 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (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.61 / (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.60: +2 -2 lines
Diff to previous 1.60 (colored)

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

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

Added support for rtag in local and remote setups (with interoperability
with GNU cvs).  Basically we already had rtag in place as tag is supposed
to work with revisions in working directory, but our implementation was
wrong.  Fixed that on the fly as well.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jan 10 09:39:32 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.58: +33 -2 lines
Diff to previous 1.58 (colored)

Slap in -b support for tag command.  It was missing for a full regress test
as of now.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Nov 17 12:42:39 2007 UTC (16 years, 6 months ago) by tobias
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Convert file_rcsrev earlier into a string, else revbuf can be printed
without initialisation.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Jun 28 21:38:09 2007 UTC (16 years, 10 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

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

Revision 1.56 / (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.55: +2 -1 lines
Diff to previous 1.55 (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.55 / (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.54: +2 -3 lines
Diff to previous 1.54 (colored)

general includes cleanup sweep. ok joris@ niallo@

Revision 1.54 / (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.53: +2 -2 lines
Diff to previous 1.53 (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.53 / (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.52: +2 -1 lines
Diff to previous 1.52 (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.52 / (download) - annotate - [select for diffs], Thu Nov 9 12:51:23 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.51: +32 -13 lines
Diff to previous 1.51 (colored)

add support for -c (Check that working files are not modified).

Revision 1.51 / (download) - annotate - [select for diffs], Thu Nov 9 10:08:33 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.50: +1 -2 lines
Diff to previous 1.50 (colored)

fix pasto..

Revision 1.50 / (download) - annotate - [select for diffs], Thu Nov 9 09:24:28 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.49: +32 -4 lines
Diff to previous 1.49 (colored)

remote tag command support joins the party!

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jul 2 21:11:54 2006 UTC (17 years, 10 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.48: +6 -2 lines
Diff to previous 1.48 (colored)

for cvs tag, tag all files in the local directory if no file argument
is given.

ok joris@

Revision 1.48 / (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.47: +2 -3 lines
Diff to previous 1.47 (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.47 / (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.46: +2 -3 lines
Diff to previous 1.46 (colored)

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

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jun 9 14:57:13 2006 UTC (17 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.45: +33 -4 lines
Diff to previous 1.45 (colored)

handle `cvs tag -F'; input && OK joris@.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jun 7 18:19:07 2006 UTC (17 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.44: +127 -222 lines
Diff to previous 1.44 (colored)

bring back tag command; basic tag addition/deletion available. OK joris@.

Revision 1.44, Sat May 27 03:30:31 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.43: +1 -1 lines
FILE REMOVED

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

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

Revision 1.42 / (download) - annotate - [select for diffs], Wed Apr 12 14:09:11 2006 UTC (18 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.41: +2 -1 lines
Diff to previous 1.41 (colored)

missing break; "Yeah, obvious" ray@.

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

spacing

Revision 1.40 / (download) - annotate - [select for diffs], Mon Feb 6 08:33:03 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.39: +33 -24 lines
Diff to previous 1.39 (colored)

- use biwise flags
- add missing option in remote handler
OK niallo@.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Feb 1 14:30:34 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.38: +14 -6 lines
Diff to previous 1.38 (colored)

allow tag deletion with -d option; OK niallo@.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jan 27 15:42:35 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.37: +3 -6 lines
Diff to previous 1.37 (colored)

CVS_EX_BADROOT return code is not worth keeping;

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 27 08:50:51 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.36: +5 -9 lines
Diff to previous 1.36 (colored)

use fatal();

Revision 1.36 / (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.35: +2 -7 lines
Diff to previous 1.35 (colored)

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

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

cvs_rcs_getpath() cannot fail anymore;

Revision 1.33 / (download) - annotate - [select for diffs], Tue Sep 27 16:33:35 2005 UTC (18 years, 7 months ago) by xsa
Branch: MAIN
Changes since 1.32: +13 -1 lines
Diff to previous 1.32 (colored)

add some file status checks in local setup;

Revision 1.32 / (download) - annotate - [select for diffs], Mon Sep 26 18:33:54 2005 UTC (18 years, 7 months ago) by xsa
Branch: MAIN
Changes since 1.31: +16 -7 lines
Diff to previous 1.31 (colored)

some more style nits and bits;

Revision 1.31 / (download) - annotate - [select for diffs], Mon Sep 26 17:43:48 2005 UTC (18 years, 7 months ago) by xsa
Branch: MAIN
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

style;

Revision 1.30 / (download) - annotate - [select for diffs], Mon Aug 8 11:40:07 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

add rtag command aliases;

Revision 1.29 / (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.28: +2 -2 lines
Diff to previous 1.28 (colored)

use LP_NOTICE instead of LP_INFO where appropriate;

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

KNF;

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 24 16:46:40 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

do not use `if (!var)' unless it's boolean, better use an == check;
ok jfb@ joris@.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jul 18 07:22:23 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

be consistent w/ warning messages (and handle -Q);

Revision 1.25 / (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.24: +3 -12 lines
Diff to previous 1.24 (colored)

use cvs_rcs_getpath();

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

fix another case where a message shouldnt be printed if -Q is specified;

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 11 09:08:47 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored)

display info message only if -q is not specified.
also display correct message wether -d is specified or not.
ok joris@

Revision 1.22 / (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.21: +2 -2 lines
Diff to previous 1.21 (colored)



remove trailing whitespaces

from deraadt@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 28 13:20:53 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.20: +17 -11 lines
Diff to previous 1.20 (colored)

- add `rtag' command usage
- add -F and -f

ok joris

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 31 08:26:40 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored)

remove LP_ERROR log priority level and rather use LP_ERR as they are both
the same...

ok jfb joris

Revision 1.19 / (download) - annotate - [select for diffs], Sun May 29 00:55:10 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

consistency in error messages ...

Revision 1.18 / (download) - annotate - [select for diffs], Tue May 24 07:38:46 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.17: +6 -4 lines
Diff to previous 1.17 (colored)

cvs_noexec checks; ok joris@

Revision 1.17 / (download) - annotate - [select for diffs], Tue May 24 04:12:25 2005 UTC (19 years ago) by jfb
Branch: MAIN
Changes since 1.16: +68 -30 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Fri May 20 20:00:53 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.15: +8 -4 lines
Diff to previous 1.15 (colored)



correct wrong error code usage.

ok jfb@, xsa@

Revision 1.15 / (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.14: +8 -1 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Tue Apr 19 18:51:30 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.13: +103 -84 lines
Diff to previous 1.13 (colored)

big spring cleanup and make tag work again when dealing with multiple
directories by specifying CVS_CMD_SENDDIR, and first stab at the
local version, needs tweaking

Revision 1.13 / (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.12: +3 -17 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Sat Apr 16 20:31:18 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.11: +10 -3 lines
Diff to previous 1.11 (colored)

thought i had committed that earlier;snprintf return value check; joris ok

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



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

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



remove EX_USAGE error codes

ok jfb@

Revision 1.8 / (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.7: +6 -6 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (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.6: +43 -56 lines
Diff to previous 1.6 (colored)



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

ok jfb@

Revision 1.6 / (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.5: +3 -2 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 28 20:18:02 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)



update my email address.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 27 00:22:08 2005 UTC (19 years, 2 months ago) by jfb
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (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.3 / (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.2: +23 -6 lines
Diff to previous 1.2 (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.2 / (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.1: +13 -11 lines
Diff to previous 1.1 (colored)

First attempt at syncing the command code and doing a lot more error
checking on all the protocol calls

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 14 19:11:54 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN

support the tag command

from Joris Vink

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.