summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2008-02-02Sync `rannotate' synopsis. r* commands work on repository modules.Xavier Santolaria
2008-02-02Add `rannotate' bits. Requested by tobias@.Xavier Santolaria
2008-02-01Make cvs_requests struct more readable.Xavier Santolaria
2008-02-01introduce cvs_read_config() which will be used as a generalJoris Vink
handler to open and read configuration files in CVSROOT/ change cvs_parse_configfile() to use cvs_read_config() instead; ok tobias@
2008-02-01Added rannotate supportTobias Stoeckmann
OK xsa@
2008-02-01Another GNU cvs weirdo: During annotate, invalid revisions are allowed ifTobias Stoeckmann
-f is supplied (thus switching to HEAD), but unknown symbols end in fatal.
2008-01-31Handle magic branch numbers in OpenCVS as well.Tobias Stoeckmann
OK joris@
2008-01-31free RCSNUM's when we are done with them;Joris Vink
ok tobias@
2008-01-31Zap trailing whitespaces.Xavier Santolaria
2008-01-31If CVS/Entries.Static exists, don't look for more files in repository.Tobias Stoeckmann
OK joris@
2008-01-31We have cvs_client_send_logmsg for transmission of log messages.Tobias Stoeckmann
OK joris@ xsa@
2008-01-31in some cases we did not return a copy of the resulting RCSNUMJoris Vink
towards the caller, which expects a copy (and frees it when done). ok tobias@
2008-01-31remove dead and unreachable codeJoris Vink
ok tobias@ xsa@
2008-01-31add changed lines support to log and rlog (the + and - stuff)Joris Vink
from Pierre Riteau;
2008-01-31vasprintf requires stdio.hTobias Stoeckmann
2008-01-31Make use of CVS_REV_BUFSZ everywhere for `sticky'.Xavier Santolaria
2008-01-31Rename `stickytag' variable to `sticky' for consistency with rest of the code.Xavier Santolaria
2008-01-31We have to carefully check if a checkout command is run with a validTobias Stoeckmann
directory or file. When it comes to files, check if there is a file available ending in ,v or if it is in Attic. Everything else in invalid. OK joris@, xsa@
2008-01-31During checkout -p don't print files which are in Attic if they are notTobias Stoeckmann
requested with -r. OK joris@
2008-01-31Rework of cvs_get_repository_name.Tobias Stoeckmann
checkout is allowed to continue if CVS/Repository does not exist. export and import are not supposed to open CVS/Repository. All other commands -- if CVS_USE_WDIR is set -- must fatal if it does not exist. OK joris@
2008-01-31On repository-side, only parse files which end with ,v (RCS_FILE_EXT).Tobias Stoeckmann
File name ",v" is ignored, too -- in opposite to weird GNU cvs that tries to create a file without name. OK joris@
2008-01-31Our directory entries in CVS/Entries had one slash too much -- zapped.Tobias Stoeckmann
OK xsa@
2008-01-31Replaced the unused cvs_command variable cmd_req with cmd_flags, which statesTobias Stoeckmann
if the current command is supposed to use a working directory or if it is a repository-only command (as of now checkout -p, rtag, rlog). Makes the code simpler, easier to read and automagically fixes some issues we encountered with these commands (for example if a working directory exists, or "." operations are performed). OK joris@, niallo@
2008-01-29There is no need to xstrdup() optarg.Tobias Stoeckmann
2008-01-29Fixed function name in fatal calls. While at it, adjusted style.Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-29Properly free dynamically allocated memory on error path.Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-29Properly free dynamically allocated memory. Also skip needless checks.Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-29Properly check if an argument has been supplied for "Removed"Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-28Actually support checkout's -l.Tobias Stoeckmann
OK xsa@
2008-01-28Properly free "rev".Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-28Zapped some variables which made the source harder to read (and to verify).Tobias Stoeckmann
> Diff from Igor Zinovik
2008-01-28checkout's options -m and -F are mutually exclusive. Also watch out toTobias Stoeckmann
properly free arguments if options are supplied multiple times. OK ray@ > Diff from Igor Zinovik
2008-01-28Properly handle -R -- although it is default, it may be overwritten mit -lTobias Stoeckmann
in front of it. OK joris@, xsa@ > Diff from Igor Zinovik
2008-01-23Don't reset the sticky tag of a file in CVS/Entries if it is not requested.Tobias Stoeckmann
OK niallo@, xsa@
2008-01-21Fixed cvs_findcmd I broke last time: cvs_findcmd is called during .cvsrcTobias Stoeckmann
parsing and must have a local cmdp variable. > Spotted by Pierre Riteau.
2008-01-21Fixed export to be fully functional and compliant to GNU cvs in local andTobias Stoeckmann
remote setups. OK xsa@
2008-01-14Changed xmalloc(n * m) pattern into xcalloc(n, m).Tobias Stoeckmann
OK ray@, xsa@ > Diff from Igor Zinovik.
2008-01-13Revision buffers are supposed to be of size CVS_REV_BUFSZ (32) insteadTobias Stoeckmann
of 24. OK xsa@ > Diff from Igor Zinovik.
2008-01-13Typos fixed.Tobias Stoeckmann
OK xsa@ > Diff from Igor Zinovik.
2008-01-12Added missing break statements.Tobias Stoeckmann
OK xsa@ > Diff from Igor Zinovik <zinovik at cs dot karelia dot ru>
2008-01-10Synced rlog's usage checks and with rtag. Also unbreaks rtag and rlog withTobias Stoeckmann
GNU cvs on server-side.
2008-01-10various fixes for remote commands (right now we support rlog and rtag)Tobias Stoeckmann
2008-01-10Added support for rtag in local and remote setups (with interoperabilityTobias Stoeckmann
with GNU cvs). Basically we already had rtag in place as tag is supposed to work with revisions in working directory, but our implementation was wrong. Fixed that on the fly as well.
2008-01-10just for the record: I HATE LogTobias Stoeckmann
2008-01-10Damnit, I should avoid this nasty Log word in a comment ...Tobias Stoeckmann
2008-01-10Make cvs_file_classify more readable.Tobias Stoeckmann
"Be especially careful with this one" joris@
2008-01-10xmalloc + memset -> xcallocTobias Stoeckmann
2008-01-10another strcspn() roundTobias Stoeckmann
2008-01-10rcs_getrev is gone: zap prototype, too.Tobias Stoeckmann
2008-01-10Simply the use of cmdp and cvs_command by zapping cvs_command and workingTobias Stoeckmann
solely with cmdp. This remedies some reliability issues with invalid commands supplied and also fixes a GNU cvs style incompatibility with release command. > Based on patch from Igor Zinovik