summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cvs.h
AgeCommit message (Collapse)Author
2006-11-14Add support for the "Set" request.Xavier Santolaria
2006-11-14add this, so version compiles...Xavier Santolaria
2006-11-13Build admin command.Xavier Santolaria
2006-11-09cvs init remote bits.Xavier Santolaria
2006-11-09fix pasto..Xavier Santolaria
2006-10-31a step ahead in opencvs add|remove remote support.Xavier Santolaria
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-01implement the -p (dump) flag for cvs updateReyk Floeter
ok joris@
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-14handle existing CVS/Tag file when adding new directories. OK joris@.Xavier Santolaria
2006-06-12bring back a working version of the `cvs init' command. OK joris@.Xavier Santolaria
2006-06-03add support for update -A and update -r<rev>.Joris Vink
hacking on the plane from toronto to barbados. i will probably hack some more since im stuck in barbados for 12 lovely hours over night cause the carribean airlines dont understand the meaning over 'more than one flight a day'.
2006-05-30add CVS_PATH_ATTIC to cvs.h - this shouldve been commitedJoris Vink
with my last commit when making sure our removed file moves into the Attic;
2006-05-28enable merging on update. if your file in your working copyJoris Vink
has been modified by yourself and there is a newer revision we try and merge them together. if the merge fails and has conflicts it will mark them inside the file, you will need to resolve these by hand first before you will be able to commit your modified file. works transparent with gnu cvs, as it is suppose to.
2006-05-27allow diff to pick up newly added files with the -N flag.Joris Vink
2006-05-27basic support for CVSROOT/config - only supporting the 'tag' andJoris Vink
'umask' keyword right now.
2006-05-27allow commands to respect the -l flag, if the -l flag isJoris Vink
specified certain commands will not recurse into directories. at the same time introduce a method of specifying wether or not a command should look in the repository for files.
2006-05-27pruning (-P) support for both the update and checkout commands;Joris Vink
2006-05-27commit the new opencvs code, i have been hacking onJoris Vink
this for the past 2 weeks now and it should go in at the start of the hackathon so others can help out. this code is a lot safer, smarter, faster and best of all it is actually doing what it is suppose to do! basic checkout, update, status, diff and commit are working in local mode only. there is no support for any remote setups now.
2006-04-01fix some bugs that lint discovered for us.Joris Vink
ok niallo@
2006-03-15- add util.h, reorganising a bunch of things and exposing cvs_yesno()Niall O'Higgins
function to be used by rcs.
2006-02-10fix CVS_PATH_NOTIFY duplicate.Xavier Santolaria
2006-02-09add missing client-side paths definitions;Xavier Santolaria
2006-01-27CVS_EX_BADROOT return code is not worth keeping;Xavier Santolaria
2006-01-10zap unused variables;Xavier Santolaria
2006-01-02more includes cleanup;Xavier Santolaria
2006-01-01more code cleanup;Joris Vink
ok xsa@ i'm commiting only hours after newyear, ah the joys of being a true geek.
2005-12-30more code cleanup, ok niallo@ and xsa@Joris Vink
2005-12-30major cleanup of the functions handling the remote cvs protocol.Joris Vink
makes the code a lot more readable and understandable. ok xsa@ and niallo@
2005-12-24add an argument to cvs_chdir() which enables or not the removalXavier Santolaria
of the directory we just chdir'd to. Useful when the function fails especially for the server mode and its temporary directory. This way it's not left behind on exit. ok joris@.
2005-12-19move fatal() proto declaration to log.h; better for its use in usr.bin/rcsXavier Santolaria
OK joris@.
2005-12-10switch to xmalloc stuff, me and xsa@ agreed on this a longJoris Vink
time ago, but we were being held back by jfb. too bad for him. next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again. ok niallo@ and xsa@
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-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-10-22diff3 support, needed for merging files together;Joris Vink
"go for it" niallo@
2005-10-07knf and spacing, ok joris@Reyk Floeter
2005-09-15strip trailing slashes from any arguments passed to opencvs.Joris Vink
ok xsa@
2005-09-15check in cvs_mkadmin() wether we need to create or not theXavier Santolaria
CVS/Tag file. Sync the rest of the code accordingly; OK joris@.
2005-09-11only remove and free a cvsroot struct if it has been added inJoris Vink
cvsroot_parse(). fixes segfaults opencvs has been receiving when cvsroot_parse() fails. "go ahead" xsa@
2005-09-06Make sure entries do not go away when we run through them in the file code.Joris Vink
Fixes corrupt Entry files. Problem found by Mike Pechkin, thanks.
2005-09-05add new functions: cvs_write_tagfile() and cvs_parse_tagfile(),Xavier Santolaria
write and parse a CVS/Tag file. Ok joris@.
2005-08-16#define CVS_ENT_MAXLINELEN 1024Xavier Santolaria
.. as the maximum length of a line in an Entries file, and use it. problem spotted a while ago by mpech@. ok jfb joris
2005-08-12add cvs_rename() function; ok jfbXavier Santolaria
2005-08-09fix our root caching method, it was utterly broken and wouldJoris Vink
cause opencvs to segfault in several cases. ok jfb@, xsa@
2005-08-04handle TMPDIR environment variable as well as -T <tmpdir> global option;Xavier Santolaria
Ok jfb@ joris@.
2005-08-03check only once for the HOME environment variable and reuseXavier Santolaria
its value (if any) to check for the .cvsrc and .cvsignore files; ok jfb@ joris@.
2005-07-27rename cvs_remove_dir() to cvs_rmdir() because it might be confusingXavier Santolaria
with the `remove' command local functions. ok joris@.
2005-07-25KNF; mostly spaces vs. tabs; ok joris@ jfb@.Xavier Santolaria
2005-07-24add cvs_unlink(); a wrapper to unlunk() w/ an error msg as it is used inXavier Santolaria
many places. Also handle -n and -t global options. ok joris@ jfb@.