Age | Commit message (Collapse) | Author |
|
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
Instead use cvsroot_is_local() and cvsroot_is_remote().
|
|
OK millert@
|
|
ok mmcc
|
|
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)
|
|
using lint.
|
|
cvs/rcs.
OK xsa zinovik
|
|
files at a time.
OpenCVS does the following:
# touch a b c
# opencvs add a b c
opencvs add: scheduling file 'a' for addition
opencvs add: use 'opencvs commit' to add this file permanently
opencvs add: scheduling file 'b' for addition
opencvs add: use 'opencvs commit' to add this file permanently
opencvs add: scheduling file 'c' for addition
opencvs add: use 'opencvs commit' to add this file permanently
This behaviour was added in -r 1.48 of add.c file.
This commit makes OpenCVS behave like GNU cvs:
# touch a b c
# opencvs add a b c
opencvs add: scheduling file 'a' for addition
opencvs add: scheduling file 'b' for addition
opencvs add: scheduling file 'c' for addition
opencvs add: use 'opencvs commit' to add these files permanently
ok deraadt@, xsa@
|
|
exists in the working copy or not instead of checking fd being -1
since this can differ in server or local mode.
|
|
make the code -Wformat=2 clean. ok joris@ xsa@
|
|
ok joris
|
|
an RCS file which has no head revision set. Some commands actually can
work with them (log, status) so support these files. Fixes A LOT of
possible segmentation faults.
ok joris
|
|
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@
|
|
|
|
to repository which is even ready to be checked out.
"probably right" joris
|
|
defined in CVSROOT/commitinfo and CVSROOT/loginfo and so on.
This enables the use of log_accum2 and all that other nice stuff we like.
This was mostly written by Jonathan Armani with help from tobias@ and myself.
ok tobias@
|
|
you add a file with -m message).
ok joris
|
|
ok joris, xsa (quite some time ago)
|
|
|
|
still has some rough edges.
|
|
|
|
OK tobias@.
|
|
* fix server-side add
* support add in branches
* do not add files in N-tagged directories
OK joris@
|
|
bad tobias, no cookie.
|
|
between a named branch and a revision number supplied by -r. This can
be done easier in cvs_write_tagfile directly.
OK joris@
|
|
OK joris@
|
|
OK xsa@
|
|
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@
|
|
|
|
|
|
GNU cvs as a server.
|
|
|
|
command that supports such files is "cvs status", therefore properly handle
them in all other commands, too.
|
|
the sticky directory tag with it. since -r gets priority.
|
|
|
|
no longer break when the log message has multiple lines.
from Tobias Stoeckmann, thanks for doing my work!
|
|
from Igor Zinovik, thanks.
|
|
Simplifies further size tweaks if needed.
OK niallo@ ray@.
|
|
|
|
functionality w/ xsnprintf(); Initial diff started by thib@.
OK thib@ joris@.
|
|
in the old school days and serves no purpose what so ever now.
otto@ mentioned this to me a while ago
|
|
|
|
- do not overwrite the contents of the file when the file was removed
and you try to re-add it.
ok otto@
|
|
- do not let the file keyword expension options (-k) disappear
from the Entries file when doing a commit/update/checkout
- be sure the expension mode gets written to the RCS file when a file
is added/committed in the first place
problems raised by otto@; tests/ok otto@ and joris@.
|
|
|
|
|
|
no longer be used, ever.
|
|
ok niallo@
|
|
|
|
do not connect to the remote server until we are sure all the options
passed to the commands are valid.
noticed by xsa@
|