summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2008-05-17Full support of branches added. We lacked proper support of multipleTobias Stoeckmann
branch entry points in one revision as well as branches which started from other branches. ok joris
2008-05-11If "cvs admin" encountered an entry in CVS/Entries for a file which has noTobias Stoeckmann
(longer an) RCS file in CVSROOT, both -- GNU cvs and OpenCVS -- segfaulted. ok joris
2008-05-11Memory leak in rcs_delta_stats plugged.Tobias Stoeckmann
ok joris
2008-05-06We have to check if server_argc is 1 instead of lesser than 0 to see ifTobias Stoeckmann
an Argumentx directive has been sent to server without prior Argument. ok joris, xsa
2008-04-24Use a fixed string in case of vasprintf() error instead of relying onTobias Stoeckmann
strerror(). Although our vasprintf() sets errno, we cannot rely on it on other systems. ok ray (who spotted this issue), xsa
2008-04-18Properly check memory allocation in client code. While at it, unifiedTobias Stoeckmann
vasprintf() check across OpenCVS code base. Based on a diff by Jacek Masiulaniec. ok (and unification requested by) xsa
2008-03-18sync the usage with the manpage, use "symbolic_tag" instead of "tag"Reyk Floeter
for the argument to distinguish it from the command keyword which is less confusing. ok joris@
2008-03-13when a file was locally removed and a diff was done againstStuart Henderson
an opencvs server (with either gnu or opencvs as the client), no actual diff output was produced. traced to the typo fixed in this diff. ok joris
2008-03-13use RCS_PARSE_FULLY for CVS_OP_ADMIN as well.Joris Vink
2008-03-13properly initialize variablesJoris Vink
2008-03-12missing rcsnum_free();Joris Vink
from Igor Zinovik
2008-03-09Fix segmentation fault when running checkout -p on a file withoutTobias Stoeckmann
specified head revision. ok joris
2008-03-09only compare file types if the file/directory exists both on diskJoris Vink
and in the CVS/Entries file, otherwise ignore it so we correctly remove it from CVS/Entries. spotted by krw@
2008-03-09locate the first occurance of ':' in the given -j argumentsJoris Vink
instead of the last one, otherwise we cannot properly separate the tag from the given date (if any).
2008-03-09simplify logic in cvs_update_leavedir()Joris Vink
2008-03-09when in server mode, be sure the client picks up any new directoriesJoris Vink
if they are available if we run with -d, however do not send the stuff when running a checkout so empty directories do not even appear in our working copy, saves us the whole pruning trouble at the end with co.
2008-03-09be sure to build CVS/Root when updating and building directories (-d)Joris Vink
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-08correct usage of lseek(2);Joris Vink
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-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.