OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.43 / (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.42: +3 -3 lines
Diff to previous 1.42 (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.42 / (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_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
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (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.41 / (download) - annotate - [select for diffs], Sat Mar 21 11:18:45 2009 UTC (15 years, 2 months ago) by joris
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, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.40: +1 -2 lines
Diff to previous 1.40 (colored)

kill useless return;

Revision 1.40 / (download) - annotate - [select for diffs], Sun Feb 24 11:06:13 2008 UTC (16 years, 2 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored)

More -Q support.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Feb 23 13:07:43 2008 UTC (16 years, 2 months ago) by xsa
Branch: MAIN
Changes since 1.38: +5 -0 lines
Diff to previous 1.38 (colored)

Handle global -Q; Avoid interactive stuff when specified.

Revision 1.38 / (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.37: +2 -2 lines
Diff to previous 1.37 (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.37 / (download) - annotate - [select for diffs], Thu Jan 10 10:05:40 2008 UTC (16 years, 4 months ago) by tobias
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Simply the use of cmdp and cvs_command by zapping cvs_command and working
solely with cmdp.  This remedies some reliability issues with invalid
commands supplied and also fixes a GNU cvs style incompatibility with
release command.

> Based on patch from Igor Zinovik

Revision 1.36 / (download) - annotate - [select for diffs], Tue Sep 25 10:56:04 2007 UTC (16 years, 7 months ago) by chl
Branch: MAIN
Changes since 1.35: +1 -3 lines
Diff to previous 1.35 (colored)

remove unused extern variable

ok joris@

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

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

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jun 26 18:02:43 2007 UTC (16 years, 10 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.33: +123 -129 lines
Diff to previous 1.33 (colored)

Bring back the release command. More work to be done though.
OK joris@ niallo@.

Revision 1.33, Sat May 27 03:30:31 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.32: +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.32 / (download) - annotate - [select for diffs], Wed Mar 15 19:59:36 2006 UTC (18 years, 2 months ago) by niallo
Branch: MAIN
Changes since 1.31: +2 -28 lines
Diff to previous 1.31 (colored)

- add util.h, reorganising a bunch of things and exposing cvs_yesno()
function to be used by rcs.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jan 27 15:26:38 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

more errors handling cleanup;

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jan 27 12:45:21 2006 UTC (18 years, 3 months ago) by xsa
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

errors handling cleaning here too;

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jan 3 12:47:14 2006 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.28: +5 -9 lines
Diff to previous 1.28 (colored)

use fatal();

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

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

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 30 16:42:13 2005 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored)

minor style nits;

Revision 1.26 / (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.25: +3 -3 lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Sat Dec 24 19:07:52 2005 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

add an argument to cvs_chdir() which enables or not the removal
of the directory we just chdir'd to.
Useful when the function fails especially for the server mode and
its temporary directory. This way it's not left behind on exit.
ok joris@.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 22 14:31:44 2005 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.23: +5 -9 lines
Diff to previous 1.23 (colored)

cvs_chdir() cannot fail anymore;

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

knf and spacing, ok joris@

Revision 1.22 / (download) - annotate - [select for diffs], Wed Sep 21 16:55:28 2005 UTC (18 years, 8 months ago) by xsa
Branch: MAIN
Changes since 1.21: +79 -77 lines
Diff to previous 1.21 (colored)

clean this mess up; joris ok

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 10 14:49:20 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

fgets() expects the 2nd arg to be an int. OK jfb@ joris@.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Aug 1 11:18:10 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

add command aliases, `re' and `rel'; from mpech@.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 27 10:36:14 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.18: +2 -6 lines
Diff to previous 1.18 (colored)

rename cvs_remove_dir() to cvs_rmdir() because it might be confusing
with the `remove' command local functions. ok joris@.

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

KNF;

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jul 23 10:59:47 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.16: +3 -9 lines
Diff to previous 1.16 (colored)

use cvs_chdir();

Revision 1.16 / (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.15: +2 -2 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Fri Jul 22 15:34:05 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.14: +8 -8 lines
Diff to previous 1.14 (colored)

minor tweaks, no functional change;

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

handle some -Q cases;

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jul 13 14:35:17 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.12: +4 -6 lines
Diff to previous 1.12 (colored)

use cvs_path_cat() instead of snprintf();

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



remove trailing whitespaces

from deraadt@

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jun 30 16:37:29 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 (colored)



missing method checks in pre_exec handler.

ok xsa@

Revision 1.10 / (download) - annotate - [select for diffs], Tue May 31 14:02:15 2005 UTC (18 years, 11 months ago) by xsa
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

cvs_noexec check if -d option specified ..

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

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

ok jfb joris

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 27 17:04:59 2005 UTC (18 years, 11 months ago) by jfb
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

- check strlcpy() return values for truncation
- in cvs_remove_dir(), return failure if we fail to unlink the
  base directory, and return -1 on error to respect the general
  util convention
- missing function documentation

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



correct wrong error code usage.

ok jfb@, xsa@

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 19 22:07:33 2005 UTC (19 years ago) by jfb
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

kill whitespace

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 19 15:31:35 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.3: +21 -4 lines
Diff to previous 1.3 (colored)

correct handling of the -d option; joris ok

Revision 1.3 / (download) - annotate - [select for diffs], Tue May 17 08:16:03 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.2: +37 -6 lines
Diff to previous 1.2 (colored)

basic update code, needs more work; ok joris@.

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 12 23:41:14 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

add CF_KNOWN and CF_NOFILES flags; joris ok

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 11 15:31:54 2005 UTC (19 years ago) by xsa
Branch: MAIN

start for the `release' command, need more work; joris ok

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.