Revision tags: OPENBSD_6_2_BASE
|
#
1.43 |
|
01-Jun-2017 |
joris |
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 tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.42 |
|
16-Jan-2015 |
deraadt |
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 tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
|
#
1.41 |
|
21-Mar-2009 |
joris |
kill useless return;
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
|
#
1.40 |
|
24-Feb-2008 |
xsa |
More -Q support.
|
#
1.39 |
|
23-Feb-2008 |
xsa |
Handle global -Q; Avoid interactive stuff when specified.
|
#
1.38 |
|
31-Jan-2008 |
tobias |
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@
|
#
1.37 |
|
10-Jan-2008 |
tobias |
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
|
#
1.36 |
|
25-Sep-2007 |
chl |
remove unused extern variable
ok joris@
|
#
1.35 |
|
22-Sep-2007 |
joris |
better branching/sticky tag support, no branch commits yet though.
|
Revision tags: OPENBSD_4_2_BASE
|
#
1.34 |
|
26-Jun-2007 |
xsa |
Bring back the release command. More work to be done though. OK joris@ niallo@.
|
#
1.33 |
|
27-May-2006 |
joris |
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.
|
#
1.32 |
|
15-Mar-2006 |
niallo |
- add util.h, reorganising a bunch of things and exposing cvs_yesno() function to be used by rcs.
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.31 |
|
27-Jan-2006 |
xsa |
more errors handling cleanup;
|
#
1.30 |
|
27-Jan-2006 |
xsa |
errors handling cleaning here too;
|
#
1.29 |
|
03-Jan-2006 |
xsa |
use fatal();
|
#
1.28 |
|
02-Jan-2006 |
xsa |
#include's cleanup; ok joris@ niallo@.
|
#
1.27 |
|
30-Dec-2005 |
xsa |
minor style nits;
|
#
1.26 |
|
30-Dec-2005 |
joris |
major cleanup of the functions handling the remote cvs protocol. makes the code a lot more readable and understandable.
ok xsa@ and niallo@
|
#
1.25 |
|
24-Dec-2005 |
xsa |
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@.
|
#
1.24 |
|
22-Dec-2005 |
xsa |
cvs_chdir() cannot fail anymore;
|
#
1.23 |
|
07-Oct-2005 |
reyk |
knf and spacing, ok joris@
|
#
1.22 |
|
21-Sep-2005 |
xsa |
clean this mess up; joris ok
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.21 |
|
10-Aug-2005 |
xsa |
fgets() expects the 2nd arg to be an int. OK jfb@ joris@.
|
#
1.20 |
|
01-Aug-2005 |
xsa |
add command aliases, `re' and `rel'; from mpech@.
|
#
1.19 |
|
27-Jul-2005 |
xsa |
rename cvs_remove_dir() to cvs_rmdir() because it might be confusing with the `remove' command local functions. ok joris@.
|
#
1.18 |
|
25-Jul-2005 |
xsa |
KNF;
|
#
1.17 |
|
23-Jul-2005 |
xsa |
use cvs_chdir();
|
#
1.16 |
|
22-Jul-2005 |
joris |
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@
|
#
1.15 |
|
22-Jul-2005 |
xsa |
minor tweaks, no functional change;
|
#
1.14 |
|
14-Jul-2005 |
xsa |
handle some -Q cases;
|
#
1.13 |
|
13-Jul-2005 |
xsa |
use cvs_path_cat() instead of snprintf();
|
#
1.12 |
|
07-Jul-2005 |
joris |
remove trailing whitespaces
from deraadt@
|
#
1.11 |
|
30-Jun-2005 |
joris |
missing method checks in pre_exec handler.
ok xsa@
|
#
1.10 |
|
31-May-2005 |
xsa |
cvs_noexec check if -d option specified ..
|
#
1.9 |
|
31-May-2005 |
xsa |
remove LP_ERROR log priority level and rather use LP_ERR as they are both the same...
ok jfb joris
|
#
1.8 |
|
27-May-2005 |
jfb |
- 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
|
#
1.7 |
|
24-May-2005 |
jfb |
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
|
#
1.6 |
|
20-May-2005 |
joris |
correct wrong error code usage.
ok jfb@, xsa@
|
#
1.5 |
|
19-May-2005 |
jfb |
kill whitespace
|
#
1.4 |
|
19-May-2005 |
xsa |
correct handling of the -d option; joris ok
|
#
1.3 |
|
17-May-2005 |
xsa |
basic update code, needs more work; ok joris@.
|
#
1.2 |
|
12-May-2005 |
xsa |
add CF_KNOWN and CF_NOFILES flags; joris ok
|
#
1.1 |
|
11-May-2005 |
xsa |
start for the `release' command, need more work; joris ok
|