summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2005-11-28consistency in error messages;Xavier Santolaria
2005-11-24respect TMPDIR;Xavier Santolaria
2005-11-24minor knf + snprintf() return check;Xavier Santolaria
2005-11-22- ci(1) can intialise RCS files now!Niall O'Higgins
- support for -j added - support for -i added ok joris@ xsa@
2005-11-21- print some more informative messagesXavier Santolaria
- minor knf niallo ok
2005-11-18minor knf;Xavier Santolaria
2005-11-16fix writing of RCS files; it has been bugging us for a while now...Xavier Santolaria
now, former RCS suite can make a use of our newly written RCS files; ok joris niallo
2005-11-14minor knf;Xavier Santolaria
2005-11-12- remove strtab stuff. serves no useful purpose.Niall O'Higgins
diff is from joris@, committing on his behalf because his net connection is very dodgy right now.
2005-11-09add missing '\n' when writing deltatexts in an RCS file;Xavier Santolaria
2005-11-08missing casts;Xavier Santolaria
2005-11-03output tweaks;Xavier Santolaria
2005-11-02changes from Venice:Niall O'Higgins
- instead of using lots of individual flag variables, use a single int and bitwise operations on it. while this saves memory, really it saves code space and reduces complexity. checkout_rev() and checkout_state() in particular benefit from these changes since their parameters where growing really long. - implement `-s' option in co - implement `-M' option in ci "I like this, go for it" joris@
2005-10-30nuke trailing whitespaces;Xavier Santolaria
2005-10-29- add two new functions to RCS api: rcs_state_set() and rcs_state_check()Niall O'Higgins
- use these two new functions to implement -s<state> option in ci ok joris@
2005-10-27if cvs_file_loadinfo fails, return failure to the caller insteadJoris Vink
of acting like everything went fine. this fixes eternal loops in the client which waits for data from the server while the server waits for data from the client. problem found and fixed by Nuno Morgadinho, thanks!
2005-10-26diff3_conflicts cleanup; joris okXavier Santolaria
2005-10-23better output;Joris Vink
2005-10-23shut up gcc;Joris Vink
2005-10-23- correctly terminate buffer in edscript(), noted by pedro@Joris Vink
- fix patching for large files;
2005-10-22fix warning when compiling usr.bin/rcsJoris Vink
2005-10-22forgot this in previous commit;Joris Vink
2005-10-22diff3 support, needed for merging files together;Joris Vink
"go for it" niallo@
2005-10-22- don't check for admin files when running init;Joris Vink
- don't pass the Entry for newly added files to cvs_date_parse() - in rcs_rev_add don't bother looking for the previous rev if we are creating the RCS file. from PR 4575
2005-10-18plug memleaks in rcs_rev_add() when an error occurs;Joris Vink
2005-10-17add client support for the `watch' and `watchers' commands. ok joris@ xsa@Moritz Jodeit
2005-10-16fix the locks section in RCS files;Joris Vink
2005-10-16less 'pirates of the carribean' like error message;Joris Vink
2005-10-15- add username parameter to rcs_rev_add(), needed to implement at leastNiall O'Higgins
`ci -wusername'. ok joris@
2005-10-14remove temporary cvs directory in error cases too. ok joris@Moritz Jodeit
2005-10-11close the RCSFILE on error, so we don't leak memory;Joris Vink
2005-10-11export diff_file variable so it can be set from without diff functions;Joris Vink
ok niallo@
2005-10-11more debug stuff i forgot to take out, i blame the dominican sun!Joris Vink
2005-10-11remove debug cruft;Joris Vink
2005-10-11fix patching in rcs_getrev();Joris Vink
2005-10-10add rcs_rev_setlog() in the RCS api; used for setting log messagesJoris Vink
of a revision to a specific value; ok niallo@
2005-10-10- editors remote handlerXavier Santolaria
- minor consistency tweaks
2005-10-10better symbol listing in RCS files;Joris Vink
2005-10-10use rd_next in rcs_getrev() when patching to get to a revisionJoris Vink
instead of just decrementing the revision number, as the previous revision doesn't always follow the current revision - 1 rule. ok niallo@
2005-10-10correctly fill in the rd_next field in rcs_rev_add();Joris Vink
ok niallo@
2005-10-10add rcsnum_dec() api call, decreases a revision number by one.Joris Vink
ok niallo@
2005-10-09fix cvs_log() so it doesn't segfault when called beforeJoris Vink
cvs_command is set. problem found by & discussed with Nuno Morgadinho thanks!
2005-10-09fix 2 off-by-one's which was causing us a whole load of crap;Joris Vink
ok niallo@
2005-10-08add missing newline, fixes D_NORMAL diff output;Joris Vink
ok niallo@
2005-10-08KNF;Joris Vink
from sir reyk@
2005-10-07basic `ci' support is here! more coming soon.Niall O'Higgins
combined effort with joris. ok joris@
2005-10-07knf and spacing, ok joris@Reyk Floeter
2005-10-06put cpp flags into CPPFLAGS and cleanup ../makefile.inc dupes; joris okMichael Shalayeff
2005-10-05- add a diff.h header file, corresponding to public functions in diff.cNiall O'Higgins
and some #defines - include this header in rcs.c - link rcs against diff.c this allows us to use the existing diff work from opencvs within functions in the rcs.c API and thus in rcs programs. paves the way for diff support in usr.bin/rcs programs. ok joris@
2005-10-05open the RCS file with O_TRUNC as well whenJoris Vink
writing new contents to it;