OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (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_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, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, HEAD
Changes since 1.18: +3 -4 lines
Diff to previous 1.18 (colored)

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

Revision 1.18 / (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.17: +3 -3 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Wed Jan 8 13:23:55 2014 UTC (10 years, 4 months ago) by okan
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored)

unsigned char for ctype. ok deraadt

Revision 1.16 / (download) - annotate - [select for diffs], Sun Mar 29 19:17:26 2009 UTC (15 years, 1 month ago) by joris
Branch: MAIN
CVS Tags: 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, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

printf() -> cvs_printf() so it works under server mode as well
spotted by Jonathan Armani <dbd@asystant.net>

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 26 22:54:37 2009 UTC (15 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.14: +11 -7 lines
Diff to previous 1.14 (colored)

fix the way Attic is handled in our recursion code, so we
do not skip files or run over them twice.

also fixes -l and -r for checkout/update when a file in
Attic exists with that tag that in HEAD is a directory
in the normal repository like gnu/usr.bin/gcc/INSTALL.

as a bonus, we do not run fstat() twice per file or dir
anymore...

spotted by deraadt@

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 25 21:50:33 2009 UTC (15 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.13: +7 -6 lines
Diff to previous 1.13 (colored)

switch our file and directory lists to RB trees (see tree(3)),
so we can benefit from faster lookup times while recursing.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 8 21:58:34 2008 UTC (16 years, 2 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.12: +2 -2 lines
Diff to previous 1.12 (colored)

Set instead of logically ORing this variable.

ok joris

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 2 11:58:45 2008 UTC (16 years, 2 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

allow our parsing functions to stop parsing a config file at
any given time.

will come in handy for CVSROOT/loginfo and CVSROOT/commitinfo

Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 26 20:20:49 2008 UTC (16 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.10: +9 -7 lines
Diff to previous 1.10 (colored)

plug memleaks
based upon a diff from Igor Zinovik

Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 6 22:43:22 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.9: +16 -2 lines
Diff to previous 1.9 (colored)

lets do co -c as well (list available modules) and do it in 1/6th of the
lines GNU cvs does it in, without actually fucking up on bad lines,
like gnucvs.

ok tobias@

Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 6 10:37:10 2008 UTC (16 years, 3 months ago) by tobias
Branch: MAIN
Changes since 1.8: +15 -9 lines
Diff to previous 1.8 (colored)

Use isblank() instead of partial check for ' ' and/or '\t'.  Complies to
GNU cvs.

OK joris.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 4 22:36:40 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.7: +16 -1 lines
Diff to previous 1.7 (colored)

CVSROOT/modules:

correct -i and -o usage

-i runs the program specified on commit
-o runs the program specified on checkout

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 4 19:08:32 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.6: +33 -27 lines
Diff to previous 1.6 (colored)

more CVSROOT/modules stuff:

- support for -i flag:
	Run "prog" on "cvs commit" from top-level of module.
- fix some memory leaks in modules.c
- pass the line number from cvs_read_config() towards the callbacks
  so its easier to print out where it's going wrong, if it ever does.

OK tobias@

Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 3 23:34:41 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.5: +3 -9 lines
Diff to previous 1.5 (colored)

shuffle some stuff around so we dont end up doing the same things
twice in cvs_module_lookup() and checkout_check_directory();

allow single files to be ignored with ! as well;

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 3 22:53:04 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.4: +10 -4 lines
Diff to previous 1.4 (colored)

be more strict when checking ignore patterns;
kill unused var;

Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 3 22:50:28 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.3: +59 -5 lines
Diff to previous 1.3 (colored)

more CVSROOT/module stuff:

- allow more then 1 module to be specified per definition
- respect the "!" sign which means: "hey ignore this dir when checking out"
- non alias definitions can now contain files

ok tobias@

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 3 17:20:14 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.2: +39 -5 lines
Diff to previous 1.2 (colored)

better CVSROOT/module support, includes remote support and modules
that are not aliases (-a);

OK tobias@

Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 2 19:35:39 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

remove unneeded headers

Revision 1.1 / (download) - annotate - [select for diffs], Sat Feb 2 19:32:28 2008 UTC (16 years, 3 months ago) by joris
Branch: MAIN

initial CVSROOT/modules support, only does aliases at the moment (-a).
"modules.c, hurray!" xsa@, ok tobias@

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.