summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2006-10-31a step ahead in opencvs add|remove remote support.Xavier Santolaria
2006-10-25Check len to be > 0 before accessing buf[len-1] and check if theMoritz Jodeit
last character in the string returned by fgets(3) is '\n' before blindly overwriting it. OK and input from xsa@
2006-10-24bring back support for -h, -N, -R, and -t.Xavier Santolaria
OK joris@.
2006-10-24Reuse len instead of calling strlen again.Ray Lai
OK xsa@.
2006-10-24Check that string length != 0 before setting buf[strlen(buf) - 1].Ray Lai
OK xsa@.
2006-10-11check fgets(3) return value and also fix aThordur I. Bjornsson
buf[strlen(buf) - 1] = something; misuse. ok niallo@, cloder@
2006-08-23pull in latest change from openrcs:Joris Vink
Add missing checks for EOF when parsing rcs file sections. by millert@
2006-08-02Sync CVS's rcs_expand_keywords() and rcs_kwexp_buf() with RCS.Ray Lai
OK niallo@
2006-07-30Sync some whitespace changes from rcs. No binary change.Ray Lai
2006-07-27Pull in improper memory allocation from RCS:Ray Lai
> Not were we allocating memory for a pointer array, it wasn't even for > the right variable! Fixes make regress with MALLOC_OPTIONS=PR. > > Found by and fix worked on with Joris.
2006-07-20Chad Dougherty <crd@andrew.cmu.edu> teaches me how to spell 'supported' ↵Joris Vink
correctly
2006-07-10handle 0 sized files correctly, tested by brad@ thanksJoris Vink
2006-07-09put the sticky tag if any in the correct place in the entries line when ↵Joris Vink
sending it to the server
2006-07-09handle SIGPIPE correctly.Joris Vink
2006-07-09more straightforward trace (-t) output, too much is just too noisy.Joris Vink
2006-07-08Remove file mode argument from {cvs|rcs}_buf_write_stmp(). WeRay Lai
always set the temporary file to mode 600, which is already done by mkstemp(). OK joris@ and xsa@ over a month ago.
2006-07-08handle "." special in client_check_directory();Joris Vink
2006-07-08allow update in remote mode to work a bit better andJoris Vink
create any missing directories or new directories with -d
2006-07-07first part of opencvs remote, fairly useable on existing treesJoris Vink
although i advise against using it on real development trees for now. only a few commands work right so far: - commit - diff - status - log - update (partially working) if you feel like testing remote and run into bugs feel free to contact me, and please include a full trace (-t).
2006-07-07fix segfault for newly added files.Joris Vink
found while test driving the new remote code.
2006-07-03-p implies -n...Xavier Santolaria
2006-07-02for cvs tag, tag all files in the local directory if no file argumentReyk Floeter
is given. ok joris@
2006-07-02- abort the commit when files are not correctly up to date.Joris Vink
- do not try to attempt to check for conflict markers when the file is not on disk. found by and okay reyk@
2006-07-01to be correct, cvs update -p is the "print" and not the "dump" flag.Reyk Floeter
suggested by deraadt@, ok joris@
2006-07-01implement the -p (dump) flag for cvs updateReyk Floeter
ok joris@
2006-07-01fix a possible bug of pathname concatenation when adding subdirectories.Reyk Floeter
ok joris@
2006-07-01Indentation.Ray Lai
2006-06-29it is a really good idea to store the result cvs_buf_load_fd returnsJoris Vink
in bp, considering we depend on that. found by reyk who is now my favorite german person, 10x.
2006-06-28use quiet mode (-q) by default and add a flag -V for the old "verbose"Reyk Floeter
mode. if you really need to know all the details (the old GNU'ish behaviour), use -V or even -t for tracing. ok joris@
2006-06-28print less verbose messages for cvs commit and add if the -q/-Q flagReyk Floeter
has been specified. ok joris@
2006-06-28do not fail when we are trying to commit a newly added file when the CVS/*,tJoris Vink
file is not present for the file. spotted and tested by reyk@ okay xsa@
2006-06-19kill local and remote callback and just have one called fileproc.Joris Vink
we let the commands pass the correct function. all in preparation for remote.
2006-06-16change a cvs_buf_load() to cvs_buf_load_fd()Joris Vink
spotted by xsa@ a few days ago
2006-06-16in preparation for the new remote code, proto.h becomes obsolete.Joris Vink
2006-06-16add support for -d; OK joris@.Xavier Santolaria
2006-06-14simplify cvs_hack_time() and the way it is called;Joris Vink
2006-06-14useless casts are so the 80sJoris Vink
2006-06-14i mixed up the offset and whence variables for lseek(2)Joris Vink
2006-06-14handle existing CVS/Tag file when adding new directories. OK joris@.Xavier Santolaria
2006-06-14add cvs_buf_load_fd() which does the same as cvs_buf_load()Joris Vink
except it takes a decriptor as argument instead of a path. modified cvs_buf_load() to open the descriptor then pass it to cvs_buf_load_fd(). change all the calls to cvs_buf_load() that have a descriptor open for the path to cvs_buf_load_fd() to prevent races.
2006-06-14zap myuid variable, it is not used for anything usefull.Joris Vink
2006-06-13be more accurate in describing what happenedJoris Vink
when we cannot see the repository the user wants to work with.
2006-06-13better usageJoris Vink
2006-06-13files that are not checked out are not up-to-date, considerJoris Vink
this a conflict and block the commit when we encounter any of these. and make an error message a bit more fluffy and accurate.
2006-06-12bring back a working version of the `cvs init' command. OK joris@.Xavier Santolaria
2006-06-11remove unused variableJoris Vink
from Jasper Lievisse Adriaanse.
2006-06-09handle `cvs tag -F'; input && OK joris@.Xavier Santolaria
2006-06-07a bug in cvs_mkpath() prevented to create the CVS admin directory andReyk Floeter
files under some special circumstances. remove a bogus stat() check to fix it. ok joris@
2006-06-07bring back tag command; basic tag addition/deletion available. OK joris@.Xavier Santolaria
2006-06-07bring back -v support; OK joris@.Xavier Santolaria