Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-28 | several fixes to the file api: | Joris Vink | |
- default to CVS_FILE when something is totally unknown - cvs_get_repository_path() now returns the full repository path for the given argument. - cvs_get_repository_name() returns the contents of CVS/Repository to the caller. - allow command callbacks to specify if our recursion code needs to skip the directory or not. - when checking for a admin directory, make sure it is in fact a directory. if it is not we dont want to recurse inside. | |||
2006-05-28 | allow commands to shut up the output from cvs_file_classify | Joris Vink | |
if the commands want to output certain stuff themselfs | |||
2006-05-28 | enable merging on update. if your file in your working copy | Joris 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-27 | do not close the same entries list twice, this caused a double free; | Joris Vink | |
2006-05-27 | support the -d flag for update. | Joris Vink | |
if you specify -d when running update new directories will be build, otherwise they will be skipped. | |||
2006-05-27 | update needs the CR_REPO flag to, otherwise it will forget | Joris Vink | |
about any new files or directories inside the repository | |||
2006-05-27 | allow commands to respect the -l flag, if the -l flag is | Joris 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-27 | pruning (-P) support for both the update and checkout commands; | Joris Vink | |
2006-05-27 | commit the new opencvs code, i have been hacking on | Joris 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-14 | remove a metric buttload of excessive () | Theo de Raadt | |
no binary change; ok ray | |||
2006-04-10 | change rcs_kwexp_set() return type to void and simplify its use. OK niallo@. | Xavier Santolaria | |
2006-03-16 | zap more unused variables. | Xavier Santolaria | |
2006-03-14 | add an argument to cvs_diff3() to be able to handle verbosity of | Xavier Santolaria | |
commands; fixes rcsmerge -q behaviour. OK niallo@ ray@. | |||
2006-01-27 | more errors handling cleanup; | Xavier Santolaria | |
2006-01-06 | ingore local update of newly added files. this fixes some possible | Reyk Floeter | |
NULL pointer conditions and also removes some obsolete extra checks. ok joris@ | |||
2006-01-06 | uninitialized pointer could confuse the cleanup check | Reyk Floeter | |
ok joris@ | |||
2006-01-02 | #include's cleanup; ok joris@ niallo@. | Xavier Santolaria | |
2005-12-30 | minor style nits; | Xavier Santolaria | |
2005-12-30 | major 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-22 | cvs_rcs_getpath() cannot fail anymore; | Xavier Santolaria | |
2005-12-03 | todd@ 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-03 | respect Q flag in output; | Joris Vink | |
2005-12-03 | add 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-08-08 | zap unused vars; | Xavier Santolaria | |
2005-07-27 | use LP_NOTICE instead of LP_INFO where appropriate; | Xavier Santolaria | |
2005-07-25 | KNF; | Xavier Santolaria | |
2005-07-23 | rewrite of the file code. the previous one was just | Joris Vink | |
a mess and not clean. this code is much cleaner, faster, and uses less memory overall. tested by xsa@, brad@, Michael Knudsen, and myself. okay xsa@ | |||
2005-07-21 | <sys/param.h> is already included in "cvs.h", no need to duplicate; | Xavier Santolaria | |
2005-07-14 | use cvs_rcs_getpath(); | Xavier Santolaria | |
2005-07-07 | remove trailing whitespaces | Joris Vink | |
from deraadt@ | |||
2005-06-30 | remove CF_KNOWN flag and move the CVS_FST_UNKNOWN check above the | Joris Vink | |
one that looks if CVSFILE is a directory, so we get a correct output of unknown files in server mode. discussed with and ok xsa@ | |||
2005-06-30 | missing method checks in pre_exec handler. | Joris Vink | |
ok xsa@ | |||
2005-06-17 | - add missing option in the command usage | Xavier Santolaria | |
- handle -k - handle -D and send it to server ok joris | |||
2005-05-31 | headers ordering (alphabetically) and cleanup, from mbalmer@ and myself; | Xavier Santolaria | |
2005-05-30 | -D and -r can be used simultaneously, pointed out by marc@ and thus | Xavier Santolaria | |
backout my previous change + spotted another case in the annotate command... ok joris@ | |||
2005-05-29 | -D and -r are mutually exclusive ... | Xavier Santolaria | |
2005-05-26 | first part of real pruning support | Joris Vink | |
okay jfb@ | |||
2005-05-24 | remove debugging messages | Jean-Francois Brousseau | |
2005-05-24 | Merge the cvs_cmd and cvs_cmd_info structures and add the necessary | Jean-Francois Brousseau | |
fields to hook local versions of the commands. This needs to go in before it gets any bigger ok joris | |||
2005-05-20 | correct wrong error code usage. | Joris Vink | |
ok jfb@, xsa@ | |||
2005-05-20 | first bits of the `cvs -n' option; ok jfb joris | Xavier Santolaria | |
2005-04-27 | cleanup and initial split between remote and local update code | Jean-Francois Brousseau | |
2005-04-19 | send the correct argument, -A not -a | Joris Vink | |
2005-04-19 | support -P -A -d flags | Joris Vink | |
2005-04-18 | Modify the CVSFILE structure using a union to keep information about | Jean-Francois Brousseau | |
both files and directories. We can now keep the revision number for regular files, and don't need to fetch the appropriate entry in the command callbacks. This saves a huge amount of parsing on Entries files. ok joris@ | |||
2005-04-16 | thought i had committed that earlier;snprintf return value check; joris ok | Xavier Santolaria | |
2005-04-12 | introduce our own set of error codes used by the commands to report | Joris Vink | |
what exactly went wrong in case of an error. ok jfb@ | |||
2005-04-11 | don't include sysexits.h now we don't use those error codes | Joris Vink | |
anymore. | |||
2005-04-11 | remove EX_USAGE error codes | Joris Vink | |
ok jfb@ | |||
2005-03-30 | move all the client commands to the new command framework. | Joris Vink | |
eliminates a lot of duplicate code. ok jfb@ |