OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.100 / (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.99: +3 -3 lines
Diff to previous 1.99 (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.99 / (download) - annotate - [select for diffs], Sun May 28 16:58:54 2017 UTC (6 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.98: +8 -3 lines
Diff to previous 1.98 (colored)

Teach opencvs status to display the sticky tag according to what it really
represents if it is a branch or a revision.

ok stsp@

Revision 1.98 / (download) - annotate - [select for diffs], Thu Nov 3 20:13:41 2016 UTC (7 years, 6 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.97: +7 -3 lines
Diff to previous 1.97 (colored)

Don't use ce_time if we are running as a server, it won't be present.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Oct 18 17:11:43 2016 UTC (7 years, 7 months ago) by joris
Branch: MAIN
Changes since 1.96: +19 -6 lines
Diff to previous 1.96 (colored)

Add the branch revision to the status output much like GNU cvs does.

OK millert@

Revision 1.96 / (download) - annotate - [select for diffs], Sat Apr 4 14:20:11 2015 UTC (9 years, 1 month ago) by stsp
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
Changes since 1.95: +12 -1 lines
Diff to previous 1.95 (colored)

Add support for commit ids to opencvs status.
Patch by joris via tech@; reminded by tedu

Revision 1.95 / (download) - annotate - [select for diffs], Sat Apr 4 14:19:10 2015 UTC (9 years, 1 month ago) by stsp
Branch: MAIN
Changes since 1.94: +3 -4 lines
Diff to previous 1.94 (colored)

Fix modified timestamp in output of opencvs status.
Patch by joris via tech@; reminded by tedu

Revision 1.94 / (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_7_BASE, OPENBSD_5_7
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (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.93 / (download) - annotate - [select for diffs], Mon Apr 19 13:03:10 2010 UTC (14 years, 1 month ago) by millert
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, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.92: +3 -2 lines
Diff to previous 1.92 (colored)

Increase buffer size to support large pathnames.  Committing on
behalf of stsp@ who is travelling.  OK miod@ deraadt@ xsa@ jsg@

Revision 1.92 / (download) - annotate - [select for diffs], Sat Mar 21 15:33:22 2009 UTC (15 years, 2 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.91: +2 -3 lines
Diff to previous 1.91 (colored)

use file_rcsrev when printing out Repository revision so
we always receive the correct revision number instead of HEAD,
otherwise running status on a file that belongs to a branch results
in showing HEAD revision instead of latest branch revision.

Revision 1.91 / (download) - annotate - [select for diffs], Sat Feb 21 14:50:53 2009 UTC (15 years, 2 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.90: +4 -3 lines
Diff to previous 1.90 (colored)

use FILE_ON_DISK flags when we need to verify if a file
exists in the working copy or not instead of checking fd being -1
since this can differ in server or local mode.

Revision 1.90 / (download) - annotate - [select for diffs], Sat Feb 21 12:47:19 2009 UTC (15 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored)

alter cvs_file_get() so it takes flags instead of one set
value for user_supplied. allow us to carry any important file flags
over to cvs_file's later on.

makes it easier for what i have coming.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Jan 14 00:23:30 2009 UTC (15 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.88: +5 -1 lines
Diff to previous 1.88 (colored)

fix printing status on removed files by default;
slighty different diff applied then what the bug author provided us.

thanks & closes pr 6038

Revision 1.88 / (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.87: +15 -13 lines
Diff to previous 1.87 (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.87 / (download) - annotate - [select for diffs], Wed Jun 11 02:19:13 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.86: +5 -4 lines
Diff to previous 1.86 (colored)

Avoid possible NULL pointer dereferences by using reentrant versions
of time functions.

ok joris

Revision 1.86 / (download) - annotate - [select for diffs], Sun Jun 8 18:07:44 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.85: +2 -3 lines
Diff to previous 1.85 (colored)

check for file_rcs being NULL

Revision 1.85 / (download) - annotate - [select for diffs], Sun Jun 8 16:20:49 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.84: +3 -2 lines
Diff to previous 1.84 (colored)

there are more cases where we cannot show the tags when -v is specified.
noticed by tobias@

Revision 1.84 / (download) - annotate - [select for diffs], Sun Jun 8 16:17:04 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

do not segfault when running status -v on non existing files.
original patch from Igor Zinovik but fixed in another way.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Feb 13 17:05:13 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.82: +8 -5 lines
Diff to previous 1.82 (colored)

fix a crash that could happen when running status on unknown files.

from Tero Koskinen.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Feb 10 14:08:52 2008 UTC (16 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

+ #define CVS_DATE_FMT   "%Y.%m.%d.%H.%M.%S"
...and use it.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Feb 10 13:16:35 2008 UTC (16 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.80: +14 -2 lines
Diff to previous 1.80 (colored)

Add support for Sticky Date. OK joris@ tobias@.

Revision 1.80 / (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.79: +2 -2 lines
Diff to previous 1.79 (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.79 / (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.78: +2 -1 lines
Diff to previous 1.78 (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.78 / (download) - annotate - [select for diffs], Thu Jan 10 09:37:26 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.77: +9 -4 lines
Diff to previous 1.77 (colored)

RCS files without head keyword mustn't segfault our implementation.  Only
command that supports such files is "cvs status", therefore properly handle
them in all other commands, too.

Revision 1.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: +3 -3 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 3 12:29:52 2007 UTC (16 years, 10 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.75: +6 -2 lines
Diff to previous 1.75 (colored)

On the server side, in a remote setup, do not display timestamp.
OK joris@.

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

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

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jun 1 17:47:47 2007 UTC (16 years, 11 months ago) by niallo
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

add support for local and remote branch checkout.  for example,
cvs co -rOPENBSD_3_0 works now.
along the way, simplify and rationalise code and fix a few nits.

ok joris@ xsa@ ray@

Revision 1.73 / (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.72: +3 -3 lines
Diff to previous 1.72 (colored)

general includes cleanup sweep. ok joris@ niallo@

Revision 1.72 / (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.71: +2 -2 lines
Diff to previous 1.71 (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.71 / (download) - annotate - [select for diffs], Wed Jan 31 21:07:36 2007 UTC (17 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.70: +6 -14 lines
Diff to previous 1.70 (colored)

snprintf() -> xsnprintf()

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jan 12 19:28:12 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.69: +5 -3 lines
Diff to previous 1.69 (colored)

do not leak memory from rcs_head_get()

ok niallo@

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 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.67: +22 -4 lines
Diff to previous 1.67 (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.67 / (download) - annotate - [select for diffs], Fri Jul 7 13:01:40 2006 UTC (17 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored)

fix segfault for newly added files.

found while test driving the new remote code.

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

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

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jun 7 15:21:47 2006 UTC (17 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.63: +25 -2 lines
Diff to previous 1.63 (colored)

bring back -v support; OK joris@.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jun 4 14:56:09 2006 UTC (17 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.62: +12 -2 lines
Diff to previous 1.62 (colored)

fix output if file is lost, unknown, or in the Attic; OK joris@.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jun 1 20:00:52 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.61: +3 -2 lines
Diff to previous 1.61 (colored)

major rewrite of some rcs parsing stuff:

- rework rcs_getrev() to correctly support branches
- rework rcs_translate_tag() to correctly translate given symbols or
  branches into their matching revisions
- rework rcs_rev_add() to correctly update its 'next' pointers
  and insert the new revision in the correct place on the list.
- rework rcs_head_get() to return the latest revision on the default
  branch if it has been set or the normal HEAD revision otherwise.
- no longer access the rf_head member of the RCSFILE struct manually,
  use the rcs_head_get() function which correctly returns the HEAD
  revision, there might be a default branch that has to be used.
- for now, when commiting a new revision reset the default branch.

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

fill in the correct revision number we will want in file_rcsrev
for each cvs_file struct, this will help us with sticky tags,
commiting to branches and importing into existing repositories.

Revision 1.60 / (download) - annotate - [select for diffs], Tue May 30 07:24:08 2006 UTC (17 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.59: +7 -2 lines
Diff to previous 1.59 (colored)

handle -q for Sticky Options and Sticky Tags output; OK joris@.

Revision 1.59 / (download) - annotate - [select for diffs], Sun May 28 07:56:44 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

allow commands to shut up the output from cvs_file_classify
if the commands want to output certain stuff themselfs

Revision 1.58 / (download) - annotate - [select for diffs], Sat May 27 15:14:27 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.57: +6 -2 lines
Diff to previous 1.57 (colored)

allow commands to respect the -l flag, if the -l flag is
specified certain commands will not recurse into directories.

at the same time introduce a method of specifying wether or not
a command should look in the repository for files.

Revision 1.57 / (download) - annotate - [select for diffs], Sat May 27 03:30:31 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.56: +109 -210 lines
Diff to previous 1.56 (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.56 / (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.55: +2 -2 lines
Diff to previous 1.55 (colored)

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

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

yet another missing break;

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
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
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], Fri Jan 27 15:26:38 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.52: +4 -4 lines
Diff to previous 1.52 (colored)

more errors handling cleanup;

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jan 25 08:15:05 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.51: +10 -22 lines
Diff to previous 1.51 (colored)

snprintf() cleanup; OK niallo@.

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 -10 lines
Diff to previous 1.50 (colored)

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

Revision 1.50 / (download) - annotate - [select for diffs], Fri Dec 30 02:03:28 2005 UTC (18 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.49: +12 -24 lines
Diff to previous 1.49 (colored)

major cleanup of the functions handling the remote cvs protocol.
makes the code a lot more readable and understandable.

ok xsa@ and niallo@

Revision 1.49 / (download) - annotate - [select for diffs], Thu Dec 22 14:59:54 2005 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.48: +2 -4 lines
Diff to previous 1.48 (colored)

cvs_rcs_getpath() cannot fail anymore;

Revision 1.48 / (download) - annotate - [select for diffs], Thu Sep 22 16:13:44 2005 UTC (18 years, 8 months ago) by xsa
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

style;

Revision 1.47 / (download) - annotate - [select for diffs], Mon Sep 5 20:03:22 2005 UTC (18 years, 8 months ago) by xsa
Branch: MAIN
Changes since 1.46: +5 -1 lines
Diff to previous 1.46 (colored)

add warning message if file status is unknown;

Revision 1.46 / (download) - annotate - [select for diffs], Wed Aug 17 18:33:55 2005 UTC (18 years, 9 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.45: +5 -2 lines
Diff to previous 1.45 (colored)

only close the RCS file if we opened it.
fixes a crash with newly added files.

ok jfb@

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

trailing whitespaces ...

Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 8 11:37:41 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.43: +2 -5 lines
Diff to previous 1.43 (colored)

zap unused vars;

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

use LP_NOTICE instead of LP_INFO where appropriate;

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], Tue Jul 19 15:48:52 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.40: +25 -4 lines
Diff to previous 1.40 (colored)

print existing tags if any (-v); long time ago Ok joris@.

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

more use of cvs_rcs_getpath();

Revision 1.39 / (download) - annotate - [select for diffs], Sun Jul 10 13:58:19 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.38: +1 -3 lines
Diff to previous 1.38 (colored)

no need to declare the verbosity var here as it is already done in cvs.h;

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

handle -Q correctly; Ok joris@.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jul 8 11:46:23 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.36: +13 -7 lines
Diff to previous 1.36 (colored)

if a file has been locally added, output correct info! Ok joris@.

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

hrmz spaces...

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

display in local mode only the mtime of a file stored in the Entries file;
Ok joris@.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jul 7 15:52:26 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.33: +13 -4 lines
Diff to previous 1.33 (colored)



more snprintf(3) checks, check against the correct
size of the buffer, close RCSFILE on error.

ok xsa@

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

add info message when examining directories; Ok joris@.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jul 7 14:08:41 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.31: +7 -3 lines
Diff to previous 1.31 (colored)



snprintf(3) checks.

ok xsa@

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jul 7 07:37:43 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

add comment;

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jul 7 06:52:14 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.29: +23 -13 lines
Diff to previous 1.29 (colored)

display what we should in case the file is unknown to cvs. Ok joris@.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jul 6 09:52:16 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

correct file status strings;

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jul 5 16:14:47 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.27: +9 -8 lines
Diff to previous 1.27 (colored)

correct ouput to match gnu/usr.bin/cvs; more to come.
ok joris@.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jul 5 16:06:52 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

`No' -> `no' in output; matches gnu/usr.bin/cvs output;

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 30 15:24:53 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.25: +6 -3 lines
Diff to previous 1.25 (colored)

add missing method check in pre_exec handler ... spotted by joris@.
options can be sent to server now without making it go crazy..

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 30 09:42:14 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

missing \n in server-side output;

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jun 25 13:53:37 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.23: +3 -9 lines
Diff to previous 1.23 (colored)



match output with the one from GNU cvs.

Revision 1.23 / (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.22: +3 -3 lines
Diff to previous 1.22 (colored)

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

Revision 1.22 / (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.21: +54 -41 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Fri May 20 20:00:53 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.20: +13 -8 lines
Diff to previous 1.20 (colored)



correct wrong error code usage.

ok jfb@, xsa@

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 27 04:54:46 2005 UTC (19 years ago) by jfb
Branch: MAIN
Changes since 1.19: +10 -21 lines
Diff to previous 1.19 (colored)

no need to query the Entries line for files anymore and a bit of cleanup

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

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

Revision 1.17 / (download) - annotate - [select for diffs], Sat Apr 16 20:26:05 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)



make sure we send the correct stuff for newly added files that
are not commited yet.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Apr 12 16:56:07 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.15: +21 -8 lines
Diff to previous 1.15 (colored)

handle files which have been lost or that have no associated entry
correctly when acting in local mode

spotted by joris@

Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 12 16:13:59 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.14: +85 -51 lines
Diff to previous 1.14 (colored)

* 'Up to date' --> 'Up-to-date', and add the 'Lost' status string
* first stab at cvs_status_local(), which will run the command in
  local mode or remotely when acting as server (not hooked yet)

Revision 1.14 / (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.13: +5 -5 lines
Diff to previous 1.13 (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.13 / (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.12: +1 -2 lines
Diff to previous 1.12 (colored)



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

Revision 1.12 / (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.11: +2 -2 lines
Diff to previous 1.11 (colored)



remove EX_USAGE error codes

ok jfb@

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

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

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



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

ok jfb@

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

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

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

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

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

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

Revision 1.4 / (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.3: +11 -16 lines
Diff to previous 1.3 (colored)

less whitespace, more pretty.  ok jfb

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

tighten vertical spacing for else; jfb ok

Revision 1.2 / (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.1: +13 -14 lines
Diff to previous 1.1 (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.1 / (download) - annotate - [select for diffs], Fri Jul 30 17:44:48 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN

Plug in the handler for `cvs status'

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.