summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
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;
2005-10-05free rl_name as well when freeing the lock list;Joris Vink
2005-10-04correctly parse the lock section in an RCS file;Joris Vink
2005-10-04write locks to the RCS file;Joris Vink
2005-10-02correctly copy and NUL-terminate deltatext strings so we don't end upJoris Vink
using garbage in rcs_patch_lines().
2005-09-30avoid using `cvs add *' idiom wrt special files; joris okXavier Santolaria
2005-09-30spacing & KNFJoris Vink
2005-09-30rework the rcs_write() function.Niall O'Higgins
now it writes to a temporary file, then rename()s this into place or copies it if rename() is not possible. allows us to work with read-only ,v files. "put your diff in" joris@
2005-09-29free the access list when rcs file is closed. ok joris@Moritz Jodeit
2005-09-29set RCS_SYNCED to off in some more functions whichMoritz Jodeit
change rcs file content. ok joris@
2005-09-29return -1 instead of NULL in rcs_sym_{add,remove}. ok joris@Moritz Jodeit
2005-09-29don't forget to put the revision into the rcs_lockMoritz Jodeit
struct in rcs_lock_add(). ok niallo@ joris@
2005-09-29implement RCS_HEAD_REV in rcs_rev_add()Niall O'Higgins
ok joris@
2005-09-29allow RCS_HEAD_REV to be passed to rcs_getrev() to obtain the head revision;Joris Vink
2005-09-27add some file status checks in local setup;Xavier Santolaria
2005-09-26some more style nits and bits;Xavier Santolaria
2005-09-26style;Xavier Santolaria