OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


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

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

Revision 1.21 / (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_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, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Thu Jan 31 10:15:05 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (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.19 / (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.18: +3 -1 lines
Diff to previous 1.18 (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.18 / (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.17: +2 -1 lines
Diff to previous 1.17 (colored)

Added missing break statements.

OK xsa@

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

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

general includes cleanup sweep. ok joris@ niallo@

Revision 1.16 / (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.15: +3 -1 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Tue Jan 9 17:12:14 2007 UTC (17 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.14: +136 -2 lines
Diff to previous 1.14 (colored)

add remote handler for the cvs watch command; not linked to the build.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 2 13:51:13 2007 UTC (17 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.13: +49 -212 lines
Diff to previous 1.13 (colored)

skeletons for the client-side part of the editors and watchers commands.
not linked to build.

Revision 1.13, Sat May 27 03:30:31 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.12: +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.12 / (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.11: +10 -10 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jan 2 08:11:56 2006 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.10: +2 -9 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Sat Dec 31 13:27:51 2005 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.9: +10 -10 lines
Diff to previous 1.9 (colored)

minor knf;

Revision 1.9 / (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.8: +18 -34 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Sat Dec 10 20:27:45 2005 UTC (18 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.7: +5 -8 lines
Diff to previous 1.7 (colored)

switch to xmalloc stuff, me and xsa@ agreed on this a long
time ago, but we were being held back by jfb. too bad for him.

next step is to use fatal() through out the code for unrecoverable
errors instead of trying to be all nice and fluffy and reach main() again.

ok niallo@ and xsa@

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 17 16:16:00 2005 UTC (18 years, 7 months ago) by moritz
Branch: MAIN
Changes since 1.6: +101 -15 lines
Diff to previous 1.6 (colored)

add client support for the `watch' and `watchers' commands. ok joris@ xsa@

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 16 06:37:57 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.5: +47 -7 lines
Diff to previous 1.5 (colored)

- watchers remote handler
- consistency nitpicks
ok joris

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

KNF;

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



remove trailing whitespaces

from deraadt@

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 15 09:17:14 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

add descritpion of the watch/watchers commands;

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 31 10:54:05 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)

add some comments ..

Revision 1.1 / (download) - annotate - [select for diffs], Mon May 30 08:01:19 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN

skeleton for watch{,ers} commands, not linked yet;
"i'm cool with that" joris@

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.