Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-10-16 | less 'pirates of the carribean' like error message; | Joris Vink | |
2005-10-07 | knf and spacing, ok joris@ | Reyk Floeter | |
2005-09-15 | strip trailing slashes from any arguments passed to opencvs. | Joris Vink | |
ok xsa@ | |||
2005-09-15 | check in cvs_mkadmin() wether we need to create or not the | Xavier Santolaria | |
CVS/Tag file. Sync the rest of the code accordingly; OK joris@. | |||
2005-09-14 | knf | Joris Vink | |
2005-09-13 | fix conditions when the base directory should be passed to the command | Joris Vink | |
callback. fixes local commands with directories as arguments (like 'add'). problem found and OK xsa@ | |||
2005-09-11 | only remove and free a cvsroot struct if it has been added in | Joris Vink | |
cvsroot_parse(). fixes segfaults opencvs has been receiving when cvsroot_parse() fails. "go ahead" xsa@ | |||
2005-09-06 | more bits for the local remove command support; OK joris@. | Xavier Santolaria | |
2005-09-06 | Make 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-08-19 | do not close the entries file until all files depending on it have | Joris Vink | |
been passed to the callback. ok xsa@ | |||
2005-08-17 | keep a pointer to the CVSENTRIES in the CVSFILE structure. | Joris Vink | |
ok xsa@ | |||
2005-08-17 | trailing whitespaces ... | Xavier Santolaria | |
2005-08-14 | missing casts; ok joris | Xavier Santolaria | |
2005-08-11 | fgets() expects the 2nd arg to be an int. | Xavier Santolaria | |
2005-08-03 | check only once for the HOME environment variable and reuse | Xavier Santolaria | |
its value (if any) to check for the .cvsrc and .cvsignore files; ok jfb@ joris@. | |||
2005-07-30 | o remove a call to cvs_ent_open() from cvs_file_create(), | Moritz Jodeit | |
since cvs_mkadmin() already does this for us. o don't deref NULL ptr when cvs_ent_open() fails. o fix format string in cvs_log(). ok joris@ | |||
2005-07-29 | minor KNF; | Xavier Santolaria | |
2005-07-29 | make more use of error codes in the file code. | Joris Vink | |
ok xsa@ | |||
2005-07-29 | correctly build the repository path in cvs_load_dirinfo() so we do not | Joris Vink | |
end up with a totally messed up repopath when there are no admin files present. problems reported by mpech@ and Nuno Margadinho. tested by Nuno Margadinho, thanks a lot! | |||
2005-07-27 | rename cvs_remove_dir() to cvs_rmdir() because it might be confusing | Xavier Santolaria | |
with the `remove' command local functions. ok joris@. | |||
2005-07-25 | make it compile without warnings | Joris Vink | |
2005-07-25 | KNF; | Xavier Santolaria | |
2005-07-24 | do not bail out in client mode if the file is not on disk at all. | Joris Vink | |
noticed and ok xsa@ | |||
2005-07-24 | "cvslog.*" should really be "cvslog*" | Joris Vink | |
2005-07-24 | add "cvslog.*" to the ignore list | Joris Vink | |
noticed by xsa@ | |||
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-22 | use the cf_name field of the CVSFILE struct instead of using the old | Joris Vink | |
CVS_FILE_NAME macro. This macro used to be nifty because of all the referencing for the names, but since we don't do that anymore and use cf_name directly... byebye CVS_FILE_NAME() okay xsa@ | |||
2005-07-18 | oops, last commit broke a few things | Joris Vink | |
2005-07-18 | let it compile without any warnings | Joris Vink | |
2005-07-15 | if the file has been added but is not on disk make sure we can pick it up | Joris Vink | |
as being "added". fixes the log command on our server-side for added files. tested & ok xsa@ | |||
2005-07-07 | do not run the callback for "." twice. | Joris Vink | |
ok xsa@ | |||
2005-07-07 | add a field to CVSFILE which holds the timestamp from the Entries file. | Joris Vink | |
usefull for some commands. ok xsa@ | |||
2005-07-07 | remove trailing whitespaces | Joris Vink | |
from deraadt@ | |||
2005-07-05 | if we can't stat the file and there is no entry for it, don't fail | Joris Vink | |
but assume it is a regular file and it is in unknown state. ok xsa@ | |||
2005-07-01 | - plug memleak in cvs_file_getdir(). | Joris Vink | |
- fix behaviour regarding unknown directories. ok xsa@ | |||
2005-06-17 | correctly build a temporary copy of the client its repository | Joris Vink | |
localy, so the server can execute the local commands on it and pipe the output to the client. with this diff in, our server is now working, please note that we currently don't have support for all commands yet, but you can expect this soon. ok xsa@ | |||
2005-06-17 | when pruning don't try to remove any directories outside | Joris Vink | |
the actual repository. reported by david@, ok xsa@ | |||
2005-06-14 | finish pruning support, this has been sitting | Joris Vink | |
in my tree since c2k5 ok xsa@ | |||
2005-06-09 | don't forget to close entfile in cvs_file_getspec(). | Joris Vink | |
2005-06-01 | remove debug code | Joris Vink | |
2005-06-01 | don't trust cvs_file_getpath() to get the correct path when creating | Joris Vink | |
the Repository file for subdirs, if we are not in the root directory of the repository. instead, save the parent's Repository path and reuse it when needed, this way CVS/Repository files aren't messed up with completely wrong pathnames when running "cvs update -d" in src/sys/ for example. ok xsa@ | |||
2005-06-01 | when creating a new directory, steal the parent its cvsroot structure if | Joris Vink | |
we cannot find one with cvsroot_get(). fixes several segfaults. tested & ok xsa@ | |||
2005-05-31 | headers ordering (alphabetically) and cleanup, from mbalmer@ and myself; | Xavier Santolaria | |
2005-05-31 | remove LP_ERROR log priority level and rather use LP_ERR as they are both | Xavier Santolaria | |
the same... ok jfb joris | |||
2005-05-28 | make sure we check the Entry file when we need to. | Joris Vink | |
ok jfb@ | |||
2005-05-25 | assume that a file is modified if its timestamp is lower | Jean-Francois Brousseau | |
than the value found in Entries. This can't really hurt, as the server will simply ignore it if it's not really modified | |||
2005-05-24 | don't fail on mkdir(2) when errno is EEXIST in cvs_file_create(). | Joris Vink | |
2005-05-24 | - simplify cvs_mkadmin(). | Joris Vink | |
- create the correct base paths in checkout. - remove the CVS_CMD_SENDARGS2 flag for checkout, it doesn't need it. okay jfb@ | |||
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-22 | unused variable | Joris Vink | |