summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/commit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* fix some bugs that lint discovered for us.joris2006-04-011-6/+2
| | | | ok niallo@
* zap more unused variables.xsa2006-03-161-5/+1
|
* #include's cleanup; ok joris@ niallo@.xsa2006-01-021-11/+2
|
* major cleanup of the functions handling the remote cvs protocol.joris2005-12-301-19/+9
| | | | | | makes the code a lot more readable and understandable. ok xsa@ and niallo@
* cvs_rcs_getpath() cannot fail anymore;xsa2005-12-221-4/+2
|
* cvs_logmsg_open() and cvs_logmsg_get() cannot fail anymore;xsa2005-12-211-3/+3
|
* switch to xmalloc stuff, me and xsa@ agreed on this a longjoris2005-12-101-6/+2
| | | | | | | | | 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@
* use LP_NOTICE instead of LP_INFO where appropriate;xsa2005-07-271-2/+2
|
* KNF;xsa2005-07-251-6/+6
|
* rewrite of the file code. the previous one was justjoris2005-07-231-12/+12
| | | | | | | | 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@
* correctly seperate added, modified and removed files for use in thejoris2005-07-231-23/+51
| | | | | | construction of the log message in the editor. ok jfb@
* use the cf_name field of the CVSFILE struct instead of using the oldjoris2005-07-221-5/+3
| | | | | | | | 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@
* unbreak the commit command.joris2005-07-191-2/+2
|
* use cvs_rcs_getpath();xsa2005-07-141-13/+2
|
* split this into cvs_commit_{remote,local}() functions;xsa2005-07-121-33/+51
| | | | ok jfb@ (Yes, Yes he IS back!!)
* remove trailing whitespacesjoris2005-07-071-2/+2
| | | | from deraadt@
* headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;xsa2005-05-311-4/+4
|
* don't forget to send the log message, this fixes the commit command.joris2005-05-301-1/+4
| | | | ok xsa@
* handle -r option; ok joris@xsa2005-05-301-1/+13
|
* 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
|