Age | Commit message (Collapse) | Author |
|
Bombardieri.
|
|
|
|
cvs/rcs.
OK xsa zinovik
|
|
1. Mostly variable/function renaming, SIZE_T_MAX->SIZE_MAX, and
spacing.
2. One strchr -> strncspn.
3. diff had a weird thing where it set file[12] = ofile[12] but
never updated file or ofile, then if file and ofile were different
it freed it. I removed it.
OK millert
|
|
cvs diff -t now works. There should be no functional change
otherwise.
OK millert
|
|
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@
|
|
so we can benefit from faster lookup times while recursing.
|
|
requested. Do this for GNU cvs compatibility, too.
ok joris
|
|
|
|
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@
|
|
|
|
with a remote setup.
fixes a very annoying bug with loginfo as well.
ok tobias@
|
|
|
|
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@
|
|
Instead of ignoring all files which contain possible conflict markers,
only watch out for files which have actually been merged.
With input by and ok joris.
|
|
once in local setup. Also added '!' to reuse typed log message for all
following directories.
ok joris
|
|
you add a file with -m message).
ok joris
|
|
branch entry points in one revision as well as branches which started from
other branches.
ok joris
|
|
- all read operations now look for a lock, and wait if present but never
try to lock the tree themselfs anymore.
- all write operations lock the tree where needed.
- commit locks all relevant directories before even attempting to start.
|
|
ok tobias@
|
|
OK joris@
|
|
* Don't check for NULL on buffer creation, because it calls fatal() when
something's wrong.
* All buffers are supposed to expand if there is no space left in them,
so zap flags as well.
* Remove code that is now dead.
OK joris@
> Inspired by a diff from Igor Zinovik about unchecked return value.
|
|
|
|
correct -i and -o usage
-i runs the program specified on commit
-o runs the program specified on checkout
|
|
OK joris@
|
|
ok tobias@
|
|
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@
|
|
> Diff from Igor Zinovik
|
|
> Diff from Igor Zinovik
|
|
properly free arguments if options are supplied multiple times.
OK ray@
> Diff from Igor Zinovik
|
|
in front of it.
OK joris@, xsa@
> Diff from Igor Zinovik
|
|
of 24.
OK xsa@
> Diff from Igor Zinovik.
|
|
OK xsa@
> Diff from Igor Zinovik.
|
|
if (!(mode & RCS_KWEXP_NONE))
RCS_KWEXP_NONE is defined to 0, so expansion happened always.
Left shifted all RCS_KWEXP defines and looked carefully at hard-coded values
throughout the code.
|
|
command that supports such files is "cvs status", therefore properly handle
them in all other commands, too.
|
|
does not exist, fixes a segfault when commiting a new file.
found by tobias@ who is going to make a nice little regression test for this.
|
|
and returns a possibly wrong revision as 'current revision'.
noticed by tobias@ his regress testing
|
|
|
|
|
|
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!
|
|
the files based upon their entry in CVS/Entries instead of
using the local classifying code and trying to locate the RCSfile
on our local disks, which ofc does not work correctly.
OK niallo@
|
|
to CVSROOT/history but cannot parse it yet with the 'history' command.
"Commit it." ray@
|
|
cvs co -rOPENBSD_3_0 works now.
along the way, simplify and rationalise code and fix a few nits.
ok joris@ xsa@ ray@
|
|
|
|
in the old school days and serves no purpose what so ever now.
otto@ mentioned this to me a while ago
|
|
ok jorix@ xsa@
|