summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/file.c
AgeCommit message (Expand)Author
2005-07-23rewrite of the file code. the previous one was justJoris Vink
2005-07-22use the cf_name field of the CVSFILE struct instead of using the oldJoris Vink
2005-07-18oops, last commit broke a few thingsJoris Vink
2005-07-18let it compile without any warningsJoris Vink
2005-07-15if the file has been added but is not on disk make sure we can pick it upJoris Vink
2005-07-07do not run the callback for "." twice.Joris Vink
2005-07-07add a field to CVSFILE which holds the timestamp from the Entries file.Joris Vink
2005-07-07remove trailing whitespacesJoris Vink
2005-07-05if we can't stat the file and there is no entry for it, don't failJoris Vink
2005-07-01- plug memleak in cvs_file_getdir().Joris Vink
2005-06-17correctly build a temporary copy of the client its repositoryJoris Vink
2005-06-17when pruning don't try to remove any directories outsideJoris Vink
2005-06-14finish pruning support, this has been sittingJoris Vink
2005-06-09don't forget to close entfile in cvs_file_getspec().Joris Vink
2005-06-01remove debug codeJoris Vink
2005-06-01don't trust cvs_file_getpath() to get the correct path when creatingJoris Vink
2005-06-01when creating a new directory, steal the parent its cvsroot structure ifJoris Vink
2005-05-31headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;Xavier Santolaria
2005-05-31remove LP_ERROR log priority level and rather use LP_ERR as they are bothXavier Santolaria
2005-05-28make sure we check the Entry file when we need to.Joris Vink
2005-05-25assume that a file is modified if its timestamp is lowerJean-Francois Brousseau
2005-05-24don't fail on mkdir(2) when errno is EEXIST in cvs_file_create().Joris Vink
2005-05-24- simplify cvs_mkadmin().Joris Vink
2005-05-24Merge the cvs_cmd and cvs_cmd_info structures and add the necessaryJean-Francois Brousseau
2005-05-22unused variableJoris Vink
2005-05-20plug a memleakJoris Vink
2005-05-20allow a cvs command to be executed from outside a repository,Joris Vink
2005-05-20execute the command callback at the same time we are buildingJoris Vink
2005-05-20don't attempt to copy the file's tag from the entry if we're dealingJean-Francois Brousseau
2005-05-12set cvsent to NULL if entfile is NULL, fixes a crashJoris Vink
2005-05-12introduce a new flag to the file api: CF_NOFILES, which allows usJoris Vink
2005-05-01if CF_MKADMIN flag is specified the administrative files willJoris Vink
2005-04-25first part of file API changes:Joris Vink
2005-04-22finish support for the '-' token in the Entry file, this allowsJoris Vink
2005-04-19update cf_type to the correct type if we cannot stat(2) theJoris Vink
2005-04-18only copy ce_tag is it is not NULL, fixes a segfault onJoris Vink
2005-04-18free cf_tag for regular files in cvs_file_free();Joris Vink
2005-04-18more debugging leftoversJoris Vink
2005-04-18Modify the CVSFILE structure using a union to keep information aboutJean-Francois Brousseau
2005-04-16more snprintf return value check; joris okXavier Santolaria
2005-04-13file callbacks won't return -1 anymore, but a CVS_EX_* errorJoris Vink
2005-03-29cvs_file_attach() can fail, make sure we can handle itJoris Vink
2005-03-26fix a variety of things i found at coverity. ok joris@Ted Unangst
2005-03-24ditch the filename hash table and use the new strtab code insteadJean-Francois Brousseau
2005-03-05fix file loading when recursion is disabled. this should fix theJean-Francois Brousseau
2005-03-05make sure that errors from cvs_file_lget() cascade down instead ofJean-Francois Brousseau
2005-03-02add a flag to identify the base directory in file hierarchies.Joris Vink
2005-02-25- switch to rcsnum_parse() where appropriateJean-Francois Brousseau
2005-01-24when loading a file's information, remove its entry from the parentJean-Francois Brousseau
2005-01-12use basename(3) instead of mangling the path to figure out theJean-Francois Brousseau