Age | Commit message (Collapse) | Author |
|
millert.
|
|
OK xsa
|
|
This doesn't alter cvs rdiff, where -U and -C are not support by GNU
cvs.
ok sthen zinovik
|
|
cvs/rcs.
OK xsa zinovik
|
|
prefixes to reduce differences between cvs and rcs files.
"yes!" nicm
|
|
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
|
|
we can actually use them.
bad sthen@ and bad me for missing this :)
|
|
ok joris@
|
|
code that wasnt suppose to dissapear:
for uptodate files, we want to compare rev1 against
file_rcsrev to see if we wish to diff or not. saves a bit off logic.
commited with opencvs,
permission by deraadt@
|
|
noticed the hard way here at work.
commiting with opencvs,
permission by deraadt@
|
|
have a file on disk we'll need to load the revision into
a temporary file to do our comparison.
do not even bother trying diffing 2 off the same revisions
either. causes less noise... way less.
you guessed it, commited using opencvs entirely.
with permission from deraadt@
|
|
commited with opencvs,
with permission by deraadt@
|
|
instead of LP_NOTICE, while here modify output for non-existing
files to match "? foobar" instead of "cannot find foobar".
makes our output a little less alien and a little bit more gnuish.
|
|
as the client does not provide these files at all because they are
not modified in anyway. otherwise this results in bad mojo.
found by myself and sthen@
|
|
exists in the working copy or not instead of checking fd being -1
since this can differ in server or local mode.
|
|
by sthen.
ok joris
|
|
non-existent file. Spotted by sthen. 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
|
|
|
|
of time functions.
ok joris
|
|
file, because it won't be sent to server then.
ok joris
|
|
file name or /dev/null, if file has been removed or added.
|
|
compatibility glitches and bugs which have been spotted by ray@ and
Igor Zinovik.
ok joris
|
|
ok joris, xsa (quite some time ago)
|
|
an opencvs server (with either gnu or opencvs as the client),
no actual diff output was produced. traced to the typo fixed
in this diff.
ok joris
|
|
share the same function: (r)tag, etc.).
ok joris
|
|
|
|
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.
|
|
instead of "server".
OK joris@
|
|
equivalents.
OK joris@, xsa@
|
|
OK joris@
|
|
had to be done for diff, too.
OK joris@
|
|
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
|
|
in front of it.
OK joris@, xsa@
> Diff from Igor Zinovik
|
|
|
|
Simplifies further size tweaks if needed.
OK niallo@ ray@.
|
|
noticed and "yes, that's much shinier" by ckuethe.
|
|
|
|
in the old school days and serves no purpose what so ever now.
otto@ mentioned this to me a while ago
|
|
not mistakenly see a file as Modified while it is not.
As a result, we can remove the very hackish cvs_hack_time() and
GNU cvs and opencvs should almost get along now.
lotsa help and okay The otto@
|
|
|
|
okay niallo@
|
|
so that we do keyword expansion on-the-fly if required instead
of obtaining the revision in memory first, running over the revision
lines while expanding keywords and only then writing them to the fd
or memory buffer.
this drasticly decreases cpu usage by opencvs on very large trees (like src).
OK niallo@
|
|
in some places and much
reduced memory usage. note that only checkout has been fully converted to use the new high-performance
functions. other codepaths (e.g. update) still use the old method which is provided for backwards
compatibility. we can convert the remaining slow bits over to the new api piece-by-piece.
"commit this, now" joris@
brad@ tested, too.
|
|
|