summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/commit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge the cvs_cmd and cvs_cmd_info structures and add the necessaryjfb2005-05-241-18/+24
| | | | | | | fields to hook local versions of the commands. This needs to go in before it gets any bigger ok joris
* correct wrong error code usage.joris2005-05-201-5/+7
| | | | ok jfb@, xsa@
* execute the command callback at the same time we are buildingjoris2005-05-201-5/+27
| | | | | | the in-memory filelist. cuts down on execution time for larger trees. "put it in!" jfb@
* don't send a Modified request and the file its contents whenjoris2005-04-241-1/+8
| | | | it has been removed.
* add missing CVS_CMD_ALLOWSPEC flagjoris2005-04-241-2/+2
|
* handle removed files as well when checking files to commitjfb2005-04-191-3/+5
| | | | ok joris
* remove debug codejoris2005-04-191-2/+1
|
* make sure we pick up newly added files.joris2005-04-191-2/+4
|
* Modify the CVSFILE structure using a union to keep information aboutjfb2005-04-181-21/+9
| | | | | | | | | 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@
* missing cvs_ent_free(); joris okxsa2005-04-161-1/+3
|
* snprintf() return values checks; joris okxsa2005-04-151-3/+8
|
* introduce our own set of error codes used by the commands to reportjoris2005-04-121-11/+11
| | | | | | what exactly went wrong in case of an error. ok jfb@
* don't include sysexits.h now we don't use those error codesjoris2005-04-111-2/+1
| | | | anymore.
* remove EX_USAGE error codesjoris2005-04-111-3/+3
| | | | ok jfb@
* first round of EX_* exit codes removal; ok joris@.xsa2005-04-031-4/+4
|
* fix prototype for cvs_commit_prepare()joris2005-03-311-2/+2
|
* move all the client commands to the new command framework.joris2005-03-301-57/+31
| | | | | | eliminates a lot of duplicate code. ok jfb@
* fix memleakjoris2005-03-291-4/+11
| | | | ok jfb@
* - make sure we are using a remote method before callingjoris2005-03-021-10/+17
| | | | | | | cvs_sendreq() and cvs_sendfile(). - don't leak entp on errors. ok jfb@
* more error checking on protocol calls when running in client modejfb2005-02-221-3/+5
|
* more widespread use of cvs_msg, and free it when we are donejfb2005-01-131-10/+14
| | | | diff by Joris Vink and me
* modify the directory handling portion to behave like the one in add.c,jfb2004-12-211-9/+7
| | | | | which does not attempt to send data when running on a local repository. This will be needed to support local repository access
* First attempt at syncing the command code and doing a lot more errorjfb2004-12-141-12/+19
| | | | checking on all the protocol calls
* return early if no files are ready to be commitedjfb2004-12-131-1/+3
|
* embrace and extend (!) cvs_logmsg_get() so we can now displayjfb2004-12-081-8/+8
| | | | | | | | | information based on its availability and have separate sections for the Added, Modified and Removed file lists. this will allow us to use the same call for add, commit, import and possibly others Original patch by Joris Vink, some rework from me for the other sections
* less whitespace, more pretty. ok jfbtedu2004-12-071-12/+9
|
* tighten vertical spacing for else; jfb okderaadt2004-12-061-3/+2
|
* This commit is brought to you by the brand new improved and better tastingjfb2004-12-021-28/+63
| | | | OpenCVS commit code.
* Rewrite the internals of the file management code so that we do not keepjfb2004-11-261-187/+70
| | | | | | a full path to each file we load, and cache file names so we can have multiple references to a single name. This saves a lot of memory on large trees such as /usr/src, especially on 'Makefile', 'README' and such.
* Better handling of log message input and removal of crufty codekrapht2004-11-091-56/+86
|
* at least compilekrapht2004-11-091-4/+7
|
* Editor invocation code, still needs some workkrapht2004-11-091-5/+133
|
* Move to the new API for the client-server protocol. All functions nowjfb2004-07-301-1/+2
| | | | | take a cvs root structure as parameter. This will allow for much easier management of CVS trees that make use of multiple roots.
* * initial import from the cvs-tools modulejfb2004-07-131-0/+145