OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.84 / (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.83: +3 -3 lines
Diff to previous 1.83 (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.83 / (download) - annotate - [select for diffs], Thu Nov 5 09:48:21 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.82: +3 -2 lines
Diff to previous 1.82 (colored)

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

Revision 1.82 / (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.81: +2 -2 lines
Diff to previous 1.81 (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.81 / (download) - annotate - [select for diffs], Tue Dec 27 13:59:01 2011 UTC (12 years, 4 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

Move some global variables/statics to locals, from Michael W
Bombardieri.

Revision 1.80 / (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_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (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.79 / (download) - annotate - [select for diffs], Mon Jun 23 20:51:08 2008 UTC (15 years, 10 months ago) by ragge
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.78: +3 -2 lines
Diff to previous 1.78 (colored)

Some conformance fixes:
- Empty brackets forbidden in C99.
- ? : and skipping middle argument is both disallowed and considered bad
  programming habit.
OK ray@, xsa@.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Jun 14 03:19:15 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.77: +1 -3 lines
Diff to previous 1.77 (colored)

don't always re-open the same CVS/Entries file, instead keep the
last opened CVS/Entries around to operate on and close it whenever
we switch directory. gives us a small performance boost, obviously.

while doing this, switch the way we write revisions to disk by
using fwrite(3) so stuff can get written to disk in chunks
instead of writing everything line by line, another win.

with help from otto@
ok tobias@

Revision 1.77 / (download) - annotate - [select for diffs], Sat Jun 14 02:43:47 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.76: +9 -7 lines
Diff to previous 1.76 (colored)

Run cvs_remove_force only if -f has been specified.

ok joris

Revision 1.76 / (download) - annotate - [select for diffs], Sun Jun 8 18:08:59 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.75: +1 -2 lines
Diff to previous 1.75 (colored)

kill debug printf

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

properly handle FILE_UPTODATE and FILE_LOST

Revision 1.74 / (download) - annotate - [select for diffs], Sun Jun 8 02:54:08 2008 UTC (15 years, 11 months ago) by tobias
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Properly build up path to description files (descr entry in RCS files if
you add a file with -m message).

ok joris

Revision 1.73 / (download) - annotate - [select for diffs], Sat Mar 8 20:26:34 2008 UTC (16 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

add checkout/update -j support.
still has some rough edges.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Feb 9 20:04:00 2008 UTC (16 years, 3 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.71: +4 -4 lines
Diff to previous 1.71 (colored)

Introduce cvs_ent_line_str() - formats CVS/Entries lines.
OK tobias@.

Revision 1.71 / (download) - annotate - [select for diffs], Wed Feb 6 12:42:46 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
Changes since 1.70: +8 -3 lines
Diff to previous 1.70 (colored)

Sticky tags must have a 'T' in front of them in CVS/Entries.

OK joris@

Revision 1.70 / (download) - annotate - [select for diffs], Mon Feb 4 15:07:33 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
Changes since 1.69: +5 -4 lines
Diff to previous 1.69 (colored)

Added -k flag support for all commands which support it.

OK joris@

Revision 1.69 / (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.68: +2 -2 lines
Diff to previous 1.68 (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.68 / (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.67: +2 -1 lines
Diff to previous 1.67 (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.67 / (download) - annotate - [select for diffs], Thu Jan 10 10:08:22 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.66: +2 -3 lines
Diff to previous 1.66 (colored)

another strcspn() round

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

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

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

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

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

general includes cleanup sweep. ok joris@ niallo@

Revision 1.63 / (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.62: +2 -2 lines
Diff to previous 1.62 (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.62 / (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.61: +3 -8 lines
Diff to previous 1.61 (colored)

snprintf() -> xsnprintf()

Revision 1.61 / (download) - annotate - [select for diffs], Sat Jan 27 20:23:26 2007 UTC (17 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

when we specify the 'f' flag do not bother removing files that
dont exist on disk anyway, and when removing a file that has been
added but not commited the correct file_status is FILE_REMOVE_ENTRY
and not FILE_ADDED.

ok otto@

Revision 1.60 / (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.59: +2 -1 lines
Diff to previous 1.59 (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.59 / (download) - annotate - [select for diffs], Wed Jan 3 22:56:54 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.58: +22 -10 lines
Diff to previous 1.58 (colored)

make sure remove -f also works in remote setup

Revision 1.58 / (download) - annotate - [select for diffs], Wed Jan 3 22:28:30 2007 UTC (17 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.57: +13 -8 lines
Diff to previous 1.57 (colored)

add support for 'remove' in a remote setup.
testing appriciated, as always.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Dec 14 09:31:17 2006 UTC (17 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.56: +1 -4 lines
Diff to previous 1.56 (colored)

no need to send -f to the server; this flag has effect
on the client-side only.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Nov 6 11:12:56 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.55: +5 -4 lines
Diff to previous 1.55 (colored)

- handle global -n flag in conjunction with remove -f.
- better error message.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Oct 31 15:23:40 2006 UTC (17 years, 6 months ago) by xsa
Branch: MAIN
Changes since 1.54: +33 -12 lines
Diff to previous 1.54 (colored)

a step ahead in opencvs add|remove remote support.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jun 19 05:05:17 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.53: +2 -3 lines
Diff to previous 1.53 (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.53 / (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.52: +2 -3 lines
Diff to previous 1.52 (colored)

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

Revision 1.52 / (download) - annotate - [select for diffs], Wed May 31 07:12:32 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.51: +1 -7 lines
Diff to previous 1.51 (colored)

dont check for FILE_UNKNOWN twice,
noticed by xsa@

Revision 1.51 / (download) - annotate - [select for diffs], Tue May 30 22:05:53 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.50: +8 -1 lines
Diff to previous 1.50 (colored)

correctly handle unknown file in remove

Revision 1.50 / (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.49: +2 -2 lines
Diff to previous 1.49 (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.49 / (download) - annotate - [select for diffs], Tue May 30 21:00:42 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.48: +13 -14 lines
Diff to previous 1.48 (colored)

prettier output when removing files;

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 29 08:19:09 2006 UTC (17 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

fix pasto

Revision 1.47 / (download) - annotate - [select for diffs], Mon May 29 05:52:42 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.46: +5 -1 lines
Diff to previous 1.46 (colored)

remove likes some CR_RECURSE_DIRS luvin' too.

Revision 1.46 / (download) - annotate - [select for diffs], Mon May 29 05:34:31 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.45: +118 -171 lines
Diff to previous 1.45 (colored)

add remove support, hacked by xsa@ but lots of modifications
from me to actually make it work properly.

commiting since xsa@ is not around and i want to move forward.
ray@ agrees.

Revision 1.45, Sat May 27 03:30:31 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.44: +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.44 / (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.43: +4 -4 lines
Diff to previous 1.43 (colored)

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

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 16 09:06:19 2006 UTC (18 years, 2 months ago) by xsa
Branch: MAIN
Changes since 1.42: +1 -3 lines
Diff to previous 1.42 (colored)

zap more unused variables.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jan 27 12:45:21 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.41: +7 -6 lines
Diff to previous 1.41 (colored)

errors handling cleaning here too;

Revision 1.41 / (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.40: +8 -9 lines
Diff to previous 1.40 (colored)

snprintf() cleanup; OK niallo@.

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

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

Revision 1.39 / (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.38: +9 -20 lines
Diff to previous 1.38 (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.38 / (download) - annotate - [select for diffs], Sat Dec 3 01:02:09 2005 UTC (18 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

add very basic support for the following stuff:

- checkout in local mode (example: /cvs)
- update in local and server mode (example: /cvs and user@host:/cvs)
- import in local and server mode (example: /cvs and user@host:/cvs)

what remains to be done:

- not all options are supported yet, and update cannot pick up newly
  added files yet. these things are pending and will be commited
  real soon.

- checkout only works locally right now.

- fix rcs parsing code so that we don't fucking hog 100% cpu
  on really BIG BIG BIG ass trees.

mainly tested by pedro@ and myself, thanks a lot pedro!

"go for it" niallo@

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

knf and spacing, ok joris@

Revision 1.36 / (download) - annotate - [select for diffs], Tue Sep 6 17:08:05 2005 UTC (18 years, 8 months ago) by xsa
Branch: MAIN
Changes since 1.35: +7 -2 lines
Diff to previous 1.35 (colored)

more bits for the local remove command support; OK joris@.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Aug 22 11:17:26 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.34: +12 -3 lines
Diff to previous 1.34 (colored)

- handle removal of a freshly added file
- fix crash if we specify -f and the file is not on disk anymore
ok joris@.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Aug 12 06:36:14 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.33: +7 -1 lines
Diff to previous 1.33 (colored)

a few things left to do here.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Aug 10 15:34:46 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

style..

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 29 23:56:56 2005 UTC (18 years, 9 months ago) by joris
Branch: MAIN
Changes since 1.31: +6 -3 lines
Diff to previous 1.31 (colored)

do not send a MODIFIED request to the server for a newly added file we
already removed again.

spotted by & ok xsa@

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jul 29 22:59:10 2005 UTC (18 years, 9 months ago) by joris
Branch: MAIN
Changes since 1.30: +5 -3 lines
Diff to previous 1.30 (colored)

make sure we do not try to send the file to the server if it is no
longer on disk.

problem reported by Nuno Morgadinho.
ok xsa@

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jul 27 17:14:08 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

more use of LP_NOTICE instead of LP_INFO;

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], Tue Jul 26 14:58:58 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

remove the (errno != ENOENT) check now that it is included in cvs_unlink();

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jul 25 20:15:35 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

"file file" -> "this file" in an info msg;

Revision 1.26 / (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.25: +5 -5 lines
Diff to previous 1.25 (colored)

KNF;

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

some more `if (!var)' cleanup;

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jul 24 17:20:14 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.23: +5 -9 lines
Diff to previous 1.23 (colored)

use cvs_unlink();

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

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

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 23 22:43:39 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

fix remote remove command, gcc didn't even catch this misplaced bracket.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jul 21 16:59:24 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.20: +14 -4 lines
Diff to previous 1.20 (colored)

if the remove command is issued on a file that has been added but not
committed yet, remove CVS/<file>,t (in local mode);
ok joris@.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jul 20 06:59:27 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.19: +86 -18 lines
Diff to previous 1.19 (colored)

fix local mode; ok joris@.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jul 11 07:51:01 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.18: +7 -1 lines
Diff to previous 1.18 (colored)

print info message;

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jul 8 16:03:38 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.17: +40 -40 lines
Diff to previous 1.17 (colored)

split local and remote function handlers from each other.

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



remove trailing whitespaces

from deraadt@

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



correct wrong error code usage.

ok jfb@, xsa@

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 20 19:58:03 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

cvs_noexec checks; jfb ok

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 12 14:04:13 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

make functions static; joris ok

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

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

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 21 19:06:06 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

better include the cvs_sendfile() req in the conditional statement so
it behaves like expected.. pointed out by joris@.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 21 18:54:50 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.9: +17 -9 lines
Diff to previous 1.9 (colored)

add checks for files still physically present that should be removed;
input/ok joris

Revision 1.9 / (download) - annotate - [select for diffs], Tue Apr 19 15:36:39 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.8: +7 -3 lines
Diff to previous 1.8 (colored)

- remove unused header
- add -l and -R flags
- add check on cvs_sendentry() return value
joris@ ok

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



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

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



remove EX_USAGE error codes

ok jfb@

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



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

ok jfb@

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 9 15:24:36 2005 UTC (19 years, 2 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.2: +12 -1 lines
Diff to previous 1.2 (colored)

enable -f option of `remove' command; ok jfb joris

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jan 31 16:49:28 2005 UTC (19 years, 3 months ago) by jfb
Branch: MAIN
Changes since 1.1: +23 -3 lines
Diff to previous 1.1 (colored)

when reporting a file to remove, we must use the Entry request along
with the file's information, and not the remove request, which is only
sent at the end of the command.  partially unbreaks remove until we
support the '-' symbol in Entries file

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 21 18:15:55 2004 UTC (19 years, 5 months ago) by xsa
Branch: MAIN

on the way to `cvs remove'; ok jfb

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.