summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/getlog.c
AgeCommit message (Collapse)Author
2017-06-01Stop looking at current_cvsroot->cr_method to figure out if we're remote or not.Joris Vink
Instead use cvsroot_is_local() and cvsroot_is_remote().
2016-10-15Quiet compiler warnings. OK tomc@ tb@Todd C. Miller
2016-10-13rcsnum_free() -> free() cleanups. From Michael W. Bombardieri.Frederic Cambus
OK millert@
2014-12-01An internal function called xrealloc() is actually a fail-hardTheo de Raadt
reallocarray()... so rename it.
2014-01-08unsigned char for ctype. ok deraadtOkan Demirmen
2013-06-03properly handle commitid tokens found in rcs filesjoshua stein
ok deraadt
2010-07-30Check date_parse return values.Ray Lai
OK xsa
2010-07-23Reduce variable/function name and whitespace differences betweenRay Lai
cvs/rcs. OK xsa zinovik
2009-03-26"Logging dirname" needs to be properly shown when running log/rlog.Joris Vink
spotted by deraadt@
2009-03-23remove debug, blehJoris Vink
2009-03-23add rlog -d support, ported from openrcs byJoris Vink
Josh Elsasser <josh@elsasser.org>
2008-09-12Move the revision selection in front of output, so errors won't mix upTobias Stoeckmann
with output. Matches GNU cvs.
2008-06-14Conforming to RCS specification, it is possible but unlikely to encounterTobias Stoeckmann
an RCS file which has no head revision set. Some commands actually can work with them (log, status) so support these files. Fixes A LOT of possible segmentation faults. ok joris
2008-06-09log already gets it FILE_UNKNOWN warning spewed out from cvs_file_classify,Joris Vink
so do not mention it again in cvs_log_local();
2008-03-02Print the right synopsis for commands on error (especially if commandsTobias Stoeckmann
share the same function: (r)tag, etc.). ok joris
2008-02-09make sure we do not call rcsnum_addmagic() directly onJoris Vink
a revision number in our symbol list if we want to correctly reuse that symbol later on in rcs_translate_tag();
2008-02-09- always remove the additional .0 from magic branches, even whenJoris Vink
running the log command. - change getlog.c so it will add any .0 for magic branches in its output if required less confusing for rcs_translate_tag();
2008-02-04r* commands have their own usage; don't check usage of their working dirTobias Stoeckmann
equivalents. OK joris@, xsa@
2008-01-31Zap trailing whitespaces.Xavier Santolaria
2008-01-31add changed lines support to log and rlog (the + and - stuff)Joris Vink
from Pierre Riteau;
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-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.
2007-09-24oops i was suppose to pass cvs_directory_tag to cvs_file_classify().Joris Vink
2007-09-22better branching/sticky tag support, no branch commits yet though.Joris Vink
2007-07-17Correct function name in error string.Xavier Santolaria
2007-07-17Simplify the way we check wether the issued command is `log' or `rlog'.Xavier Santolaria
Input and OK ray@.
2007-07-16Do not display the `Working file:' line if the issued command is `rlog'.Xavier Santolaria
Matches GNU's behaviour. OK joris@.
2007-06-28Sync revisions and time buffers size to be consistent with each others.Xavier Santolaria
Simplifies further size tweaks if needed. OK niallo@ ray@.
2007-06-26add support for cvs rlog.Niall O'Higgins
from Mickey. ok joris@ ray@
2007-02-22general includes cleanup sweep. ok joris@ niallo@Otto Moerbeek
2007-02-09remove the cvs_file_classify() `loud' argument, it was usedJoris Vink
in the old school days and serves no purpose what so ever now. otto@ mentioned this to me a while ago
2007-01-11in a remote setup:Joris Vink
do not connect to the remote server until we are sure all the options passed to the commands are valid. noticed by xsa@
2006-11-10fix -wXavier Santolaria
2006-11-08[-s states] and [-w logins] bits.Xavier Santolaria
2006-10-24bring back support for -h, -N, -R, and -t.Xavier Santolaria
OK joris@.
2006-07-07first part of opencvs remote, fairly useable on existing treesJoris Vink
although i advise against using it on real development trees for now. only a few commands work right so far: - commit - diff - status - log - update (partially working) if you feel like testing remote and run into bugs feel free to contact me, and please include a full trace (-t).
2006-06-19kill local and remote callback and just have one called fileproc.Joris Vink
we let the commands pass the correct function. all in preparation for remote.
2006-06-16in preparation for the new remote code, proto.h becomes obsolete.Joris Vink
2006-06-02various spelling fixesDavid Krause
2006-05-30change cvs_file_classify here to, forgot to commit thisJoris Vink
when i changed its arguments in the last commit.
2006-05-29add trace messages for debugging purposeJoris Vink
2006-05-29i forgot to handle directories inside the 'log' code,Joris Vink
which resulted in a very painfull segfault later on. found by reyk@
2006-05-28teach log how to handle the revisions passed on the command line.Joris Vink
the following now works: 'opencvs log -r1.5:1.15 foobar'
2006-05-28add basic 'cvs log' support.Joris Vink
2006-04-14- swap a hack for a slightly nicer hack using a global variable. this avoidsNiall O'Higgins
adding a really nasty hack to make some upcoming rlog fixes from joris work. ok joris@
2006-02-06- use bitwise flagsXavier Santolaria
- add missing option in remote handler
2006-01-30strerror() -> rcs_errstr() when passing rcs_errno as argument;Xavier Santolaria
2006-01-29RCS_PARSE_FULLY needed here too, as in rlog(1);Xavier Santolaria
2006-01-27more errors handling cleanup;Xavier Santolaria