| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
ok nicm@
|
|
|
|
|
|
| |
buf_grow() replaces macro BUF_GROW()
ok nicm@, ray@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
looping forever.
This prevents the server going into an infinite loop when the repository
is behind the checkout, but the behaviour is not correct (it is an error
rather than ignoring the file), so mark with an XXX for now. Some
underlying OpenCVS functions are too fatal()-happy and will probably
need to be changed in order to fix this properly.
Problem reported by sthen.
ok xsa ray
|
|
|
|
|
|
|
| |
the unix epoch is equally absurd. Just return Start for now. We may
add overflow checks in the future.
OK xsa nicm
|
|
|
|
| |
OK xsa
|
|
|
|
|
|
| |
returns -1 on error.
OK nicm
|
|
|
|
|
|
|
| |
This doesn't alter cvs rdiff, where -U and -C are not support by GNU
cvs.
ok sthen zinovik
|
|
|
|
|
|
| |
cvs/rcs.
OK xsa zinovik
|
|
|
|
|
|
|
|
|
|
|
| |
and making copies (among other weird dances), use reentrant versions.
Not being able to tell the time is a fatal error, so die if that
happens.
Diff originally from nicm.
OK nicm xsa
|
|
|
|
|
|
| |
prefixes to reduce differences between cvs and rcs files.
"yes!" nicm
|
|
|
|
|
|
| |
as root.
OK nicm
|
|
|
|
| |
OK stsp xsa nicm
|
|
|
|
|
|
|
|
| |
such. Besides, we weren't handling the NULL being returned.
From diff. Minor nit by nicm.
OK xsa stsp nicm
|
|
|
|
|
|
|
| |
Return -1 on error as advertised.
Handle case when only one stream failed.
OK xsa, stsp
|
|
|
|
|
|
| |
repository files.
slightly earlier version ok zinovik xsa
|
|
|
|
|
|
| |
edited it back to repository state).
ok zinovik
|
| |
|
|
|
|
|
|
|
|
| |
symbol/tag names: require the first character to be a letter and
allow any printable character (except the RCS specials $,.:;@)
afterwards. This matches GNU cvs.
ok xsa@ zinovik@ stsp@
|
|
|
|
|
|
|
|
| |
enters, even if it was executed simultaneously with `-n' (no exec option).
cvs_unedit_local() does not conform that behaviour, so lets make it behave
like all other functions.
ok xsa@, stsp@
|
|
|
|
| |
behalf of stsp@ who is travelling. OK miod@ deraadt@ xsa@ jsg@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
| |
lines, but does exactly the same thing. It also removes unneeded variable
`buf'
ok deraadt@, xsa@
|
|
|
|
|
|
|
| |
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
| |
|
|
|
|
| |
is specified. From Dawe in user/6177.
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
| |
this fixes annotate on our cvsweb. the cvsweb script does very
funky things in order to get the job done, but hey we should support it.
i'm shocked nobody noticed annotate wasnt working, djees.
found by jacekm@
|
|
|
|
|
|
|
|
| |
the correct repository path in Set-sticky and Clear-sticky
otherwise we'll end up with stuff like src/bin/ls/src/bin/ls
in CVS/Repository which pretty much breaks.
noticed & ok sthen@
|
|
|
|
|
|
| |
towards the server.
problem spotted and diff tested by sthen@
|
|
|
|
|
| |
of ignoring them, even if they are just stubs.
unbreaks export with gnu cvs clients.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this option is needed so gnu cvs clients can play along
properly when running checkout <module> in a remote setup.
if we do not support this, gnu cvs refuses to send us any
existing files already on disk and opencvs will consider everything
as NEEDS_CHECKOUT, instead of running an update on existing stuff.
problem noticed by fgsch@
commited with opencvs, but please everybody else
do not use opencvs to commit yet.
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
| |
to the server for verification.
commited with opencvs,
permission by deraadt@
|
|
|
|
|
| |
commited with opencvs,
with permission by deraadt@
|
|
|
|
|
|
|
|
|
|
|
| |
exists in the CVS/Entries file, otherwise the server has no way
of determining if the user has resolved it or not.
also in client mode, send a conflict as Â"+=" not "+" alone, so other
cvs implementations get it.
commited entirely with opencvs,
with permission by deraadt@
|
|
|
|
|
| |
incendently, commit made using opencvs entirely.
with permission from deraadt@
|
|
|
|
| |
spotted by Jonathan Armani <dbd@asystant.net>
|
|
|
|
|
|
|
| |
that we'd hit in normal checkouts/updates for duplicate file
and dirs.
found and diff tested by krw@
|
|
|
|
|
|
|
| |
we only do so if the file we're checking out was not supplied
on the command-line. Otherwise we'll end up setting CVS/Tag
for the entire directory instead of slapping a sticky tag
only on the file supplied.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
spotted by deraadt@
|
|
|
|
| |
so we can benefit from faster lookup times while recursing.
|
|
|
|
| |
ok tobias@
|