summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2005-12-08complete and correct rcs locking functionality,Joris Vink
it was only done partially and as a bonus, completely wrong. seriously guys what was up with that?
2005-12-05- repair cvs diff. my date fix was too naive.Niall O'Higgins
2005-12-04more code cleanup, remove useless flags and parts of codeJoris Vink
that never got used in the first place;
2005-12-04bye obsolete junk;Joris Vink
"go ahead" and "nuke them" niallo@, xsa@
2005-12-03strip any trailing slashes in the received DirectoryJoris Vink
request, to make sure we are compatible with gnu;
2005-12-03todd@ reminds me:Joris Vink
If you 'vi file.c' and change stuff, then 'make depend && make' you'll have a file.o file most definately more recent than the latest committed version of file.c. Then, if you rm file.c, and cvs update file.c, if 'file.c' is set to the timestamp of the last committed version, a subsequent 'make' will not rebuild the .o file. to fix this we simply use the current timestamp when updating files. thanks todd@!
2005-12-03fix date handling in opencvs, this was broken since the very start.Joris Vink
now, when you checkout a tree with gnu cvs, opencvs no longer sees all the files as modified, and visa versa. this actually makes gnu cvs and opencvs dance together in working copies.
2005-12-03- teach opencvs about Entries.Log and what to do with itJoris Vink
it it exists in the CVS admin dir. - when writing the Entries file write it to Entries.Backup first and then rename it to Entries when the writing was successfull.
2005-12-03respect Q flag in output;Joris Vink
2005-12-03nuke unused vars;Joris Vink
2005-12-03remove unused and useless functions, they just get in the way;Joris Vink
2005-12-03usr.bin/rcs stuff doesn't care about cvs_checkout_rev();Joris Vink
2005-12-03add very basic support for the following stuff:Joris Vink
- checkout in local mode (example: /cvs) - update in local and server mode (example: /cvs and user@host:/cvs) - import in local and server mode (example: /cvs and user@host:/cvs) what remains to be done: - not all options are supported yet, and update cannot pick up newly added files yet. these things are pending and will be commited real soon. - checkout only works locally right now. - fix rcs parsing code so that we don't fucking hog 100% cpu on really BIG BIG BIG ass trees. mainly tested by pedro@ and myself, thanks a lot pedro! "go for it" niallo@
2005-12-02remove debug message;Joris Vink
2005-12-02fix commiting/importing of 0 sized files.Joris Vink
found and tested by pedro@ and niallo@ ok niallo@
2005-12-01- fix up context and unified diff output in both open rcs and open cvs soNiall O'Higgins
that the date is set correctly. ok joris@
2005-12-01- fix unified and context diff output, finally!Niall O'Higgins
this was a long standing bug, and the fix is hilarious. ok joris@
2005-12-01rcs_findrev() is not static anymore; align protos while here;Xavier Santolaria
OK joris@ niallo@.
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@