summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2007-03-27sync with espie@'s latest change to diff(1).Xavier Santolaria
from src/usr.bin/diff/diffreg.c rev 1.67: improve -p for C++ code: classes definition often have public:/protected:/private: at the start of line. This lets the -p scanner just take note of the section and keep looking for the actual class definition. Also increase function name bufsize so it shows most of these pesky C++ decls... OK niallo@ espie@.
2007-03-22use MD5_DIGEST_STRING_LENGTH instead of rolling our own lenght.Xavier Santolaria
OK otto@ (before lock).
2007-03-21Document the CVSROOT/config file; input and OK's niallo@ jmc@.Xavier Santolaria
2007-02-24fix comment; from jared r r spiegelOtto Moerbeek
2007-02-22general includes cleanup sweep. ok joris@ niallo@Otto Moerbeek
2007-02-21Simplify cvs_buf_differ(). Also cvs_buf_differ(), a comparisonRay Lai
function, should not do any resource freeing. OK joris@.
2007-02-21Replace a manual xrealloc with rcsnum_setsize.Ray Lai
From Charles Longeau <chl at tuxfamily dot org>. OK joris@.
2007-02-19Fix const inconsistencies, void pointer artithmetic and a few otherOtto Moerbeek
things. now gcc -Wall and lint are more happy. ok joris@ xsa@
2007-02-18an erroneous free() crept in due to a merge errorOtto Moerbeek
2007-02-17cvs_path_cat() removal since we can now easily handle thatXavier Santolaria
functionality w/ xsnprintf(); Initial diff started by thib@. OK thib@ joris@.
2007-02-14Fix spacing in Makefile.Niall O'Higgins
ok joris@ From: Igor Sobrado <igor at string1.ciencias.uniovi.es>
2007-02-13zap unused CVS_ISDIR() and CVS_ISFILE() macros. OK joris@.Xavier Santolaria
2007-02-12remove unused leftovers from openrcs; OK joris@.Xavier Santolaria
2007-02-09correctly skip invalid entries when usingJoris Vink
getdirentries(2). ok otto@
2007-02-09if a directory exists in the working dir but not in theXavier Santolaria
repository, mark it as to be skipped so we do not try to lock it on update and miserably fail... OK joris@.
2007-02-09remove the cvs_file_classify() `loud' argument, it was usedJoris Vink
in the old school days and serves no purpose what so ever now. otto@ mentioned this to me a while ago
2007-02-09strtol(3) -> strtonum(3)Joris Vink
2007-02-07fstat() -> lstat() in a few select cases,Todd T. Fries
this fixes a bug where opencvs update would abort if a link existed that pointed to a non-existent file/dir ok joris@
2007-02-07strl* overload; use xsnprintf(); OK ray@.Xavier Santolaria
2007-02-06replace strl* overload and xstrdup() misuse by xsnprintf();Xavier Santolaria
OK joris@.
2007-02-06sort options;Jason McIntyre
2007-02-04Use the right HEADNAME. Sometimes compiler warnings should not beOtto Moerbeek
ignored. ok xsa@ joris@
2007-02-04dont bother trying to parse empty lines as dates.Joris Vink
cuts away some cpu time. from Tobias Ulmer, thanks a million!
2007-02-02Remove cb_cur or replace with cb_buf; cb_cur was the same as cb_bufRay Lai
most of the time and was never of much use. OK niallo@.
2007-02-02Remove unused and buggy {cvs,rcs}_buf_set functions.Ray Lai
Bugginess pointed out and fix provided by Pierre Riteau. OK joris@.
2007-02-01When writing an rcs file, create the temp file next to the targetOtto Moerbeek
file and then rename. Avoids inter-filesystem copy and fixes a potential rcs file truncation when the target fileystem becomes full. While there, use fchmod instead of chmod. ok xsa@ joris@
2007-02-01change mode of a newly created rcs file in the repository to 0444Otto Moerbeek
ok jorix@ xsa@
2007-02-01add support for [-k mode]; tests/ok otto@.Xavier Santolaria
2007-02-01add support for [-k mode]; tests/input/ok otto@.Xavier Santolaria
2007-01-31snprintf() -> xsnprintf()Xavier Santolaria
2007-01-29introduce xsnprintf(); OK otto@ joris@.Xavier Santolaria
2007-01-29no longer spit out that you can add new files using 'cvs add',Joris Vink
it is pretty obvious on itself. ok niallo@ xsa@
2007-01-28hey look, i found another debug printf from my merging stuff!Joris Vink
kill-zap-nuke-remove-delete it.
2007-01-28do not overwrite a file that is modified but has a sticky tag setJoris Vink
when running update -A, instead merge in the changes. 'kay xsa@
2007-01-28remove debug printfs that sneaked in.Joris Vink
2007-01-28add merging support in both local and remote sides.Joris Vink
tested by many, thanks.
2007-01-27- do not try to add non-existing filesJoris Vink
- do not overwrite the contents of the file when the file was removed and you try to re-add it. ok otto@
2007-01-27when we specify the 'f' flag do not bother removing files thatJoris Vink
dont exist on disk anyway, and when removing a file that has been added but not commited the correct file_status is FILE_REMOVE_ENTRY and not FILE_ADDED. ok otto@
2007-01-27missed a case for CVS_CMD_ADD from last commitJoris Vink
2007-01-27by default let cvs_file_classify complain about certain casesJoris Vink
and fix some warnings that should not come up for certain commands. ok niallo@ otto@
2007-01-27preserve flags in Entries in the remote case. ok xsa@ joris@Otto Moerbeek
2007-01-27mktime() produces local time, so add in tm_gmtoff to get UTC.Otto Moerbeek
ok xsa@ and joris@
2007-01-26more fixe size buffers on the stack. ok xsa@ joris@Otto Moerbeek
2007-01-26- support [-k mode] for the add commandXavier Santolaria
- 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@.
2007-01-26Handle CVS/Entries and file timestamp correctly so we doJoris Vink
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@
2007-01-26respect umask; ok joris@Otto Moerbeek
2007-01-26modestring can be 18 longOtto Moerbeek
2007-01-26extra xfree leftover; from tbert.Otto Moerbeek
2007-01-25when acting as a server - immediatly after we checkout a fileJoris Vink
remove its temp copy so our worklist doesnt contain a bazillion entries when checking out src. as a result, we now use very little memory in server mode. found and tested by otto@ ok cool and the gang.
2007-01-25zap uneeded close() calls after fclose(); pointed out by and OK otto@.Xavier Santolaria