summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2008-03-09do not use CR_REPO in a remote setup, that will obviously fail.Joris Vink
2008-03-09revert one of tobias his changes, it broke remote for several commands.Joris Vink
2008-03-09proper repository locking:Joris Vink
- all read operations now look for a lock, and wait if present but never try to lock the tree themselfs anymore. - all write operations lock the tree where needed. - commit locks all relevant directories before even attempting to start.
2008-03-09do not empty the list in cvs_file_walklist() this is the callerJoris Vink
his responsibility, allows us to reuse the same file list for multiple callbacks.
2008-03-09cf->user_supplied cannot be used in cvs_file_classify for all commandsTobias Stoeckmann
(like import, add, commit), so revert this change until a universal solution is found.
2008-03-09Don't force ourself to support CVS_USE_WDIR commands (release, update, ...)Tobias Stoeckmann
only if we are in top directory of a repository. ok joris
2008-03-09be sure to create CVS/Root if we added a new directory to the repository.Joris Vink
2008-03-09pass user_supplied to struct cvs_file so it can be usedJoris Vink
in the callbacks to verify if this file was specified on the command line.
2008-03-09unused varJoris Vink
2008-03-09rename check_dir_tag to user_supplied to reflect what the flagJoris Vink
actually means and is used for.
2008-03-09While allocation memory, make sure that file sizes are smaller than SIZE_MAX.Tobias Stoeckmann
ok joris
2008-03-09Get README up to date: OpenCVS is linked to build now, but man pages areTobias Stoeckmann
not installed yet. ok joris, xsa
2008-03-09Prevent sending of "Directory" messages for arguments in remote setup ifTobias Stoeckmann
the specified files (or directories) do not exist. ok joris
2008-03-08do not log successfull merges in CVSROOT/history when joining.Joris Vink
2008-03-08better -j supportJoris Vink
2008-03-08CVS/Entries file must be created in cvs_mkadmin, because they have to beTobias Stoeckmann
available in empty directories too (containing only "D" then). ok joris
2008-03-08Set instead of logically ORing this variable.Tobias Stoeckmann
ok joris
2008-03-08Set umask (and cvs_umask) to system's umask in local and client mode.Tobias Stoeckmann
Also zap umask(0);umask(mask); calls, we have cvs_umask for this. ok joris
2008-03-08add checkout/update -j support.Joris Vink
still has some rough edges.
2008-03-08avoid inifite recursion on certain error conditions; from netbsd;Otto Moerbeek
ok millert@
2008-03-08fix vs_columns() for the "set nu" case. avoids segfaults for very longOtto Moerbeek
lines containing tabs; from Nathan Houghton; ok millert@
2008-03-08correct usage of lseek(2);Joris Vink
2008-03-08Document that -k 0 does not do anything, instead of sending bytes everyMarc Espie
0 seconds.
2008-03-04crank version; from djmTheo de Raadt
2008-03-04fix ifdef DEBUG code; ok krw@ deraadt@Otto Moerbeek
2008-03-04fix segfault when trying to lock and unlock rcs files thatJoris Vink
contain no revisions. reported by Jean Raby. ok deraadt@
2008-03-03tweak previous;Jason McIntyre
2008-03-02document the two big bugs left that somewhat hinder parallel mode.Marc Espie
2008-03-02Make sure that temporary file has been successfully opened.Tobias Stoeckmann
ok joris
2008-03-02rcs_errno is gone: zap rcs_errstr() and rcs_errstrs[] as well.Tobias Stoeckmann
ok joris
2008-03-02rannotate needs at least one module as argument.Tobias Stoeckmann
ok joris
2008-03-02Print the right synopsis for commands on error (especially if commandsTobias Stoeckmann
share the same function: (r)tag, etc.). ok joris
2008-03-02use a union to ensure alignment of the cmsg (pay attention: various otherTheo de Raadt
parts of the tree need this treatment too); ok djm
2008-03-02allow our parsing functions to stop parsing a config file atJoris Vink
any given time. will come in handy for CVSROOT/loginfo and CVSROOT/commitinfo
2008-03-02- Remove LIBZ from DPADD.Brad Smith
- Garbage collect DPADD and LDADD. ok joris@
2008-03-01remove cruft that is simply rotting away, its not used forJoris Vink
anything and until somebody writes -z support its shit we dont need.
2008-03-01use file_rcsrev in update_clear_conflict() - this wayJoris Vink
we will always pick up the correct revision.
2008-03-01spacingTheo de Raadt
2008-03-01import_get_rcsdiff() doesnt need cvs_noexec checks.Joris Vink
it only gets called from import_update() which handles the noexec stuff
2008-03-01allow dry-runs (-n) to work properly;Joris Vink
2008-03-01goodbye rcs_errno - we didnt use you and you wont be missedJoris Vink
2008-03-01do not overwrite CVS/Root in an existing tree whenever somebodyJoris Vink
specified a CVSROOT using alternate ways (-d or CVSROOT environ variable)
2008-03-01make sure we compare our current file contents against the correctJoris Vink
revision specified in CVS/Entries if the timestamps mismatch, so that we do not end up merging a file that was not even modified whenever it needs a normal patch.
2008-03-01when reopening the file pass the proper mode and reopen it usingJoris Vink
O_RDWR instead of O_WRONLY so that when we are in server mode we do not screw up in cvs_remote_send_file().
2008-02-29handle file permissions and owners properly.Joris Vink
matches what gnu cvs does. fixes the fact that we couldnt update group writable files. problem report & diff testing by David Crawshaw.
2008-02-28RCS files can have a default expansion mode, keep this in mind forTobias Stoeckmann
update -A and -k. spotted by and ok joris
2008-02-28nobody needs weird debug messagesJoris Vink
2008-02-28kill way out of date stuffJoris Vink
2008-02-28do not fatal() on CVS_METHOD_EXT, since we actually support this.Joris Vink
reported & diff tested by Geerd-Dietger Hoffmann
2008-02-27prevent file racesJoris Vink
ok tobias@