summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/getlog.c
AgeCommit message (Collapse)Author
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
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-30minor style nits;Xavier Santolaria
2005-12-30major cleanup of the functions handling the remote cvs protocol.Joris Vink
makes the code a lot more readable and understandable. ok xsa@ and niallo@
2005-12-22cvs_rcs_getpath() cannot fail anymore;Xavier Santolaria
2005-11-03output tweaks;Xavier Santolaria
2005-08-08zap unused var;Xavier Santolaria
2005-08-05minor KNF;Xavier Santolaria
2005-07-27use LP_NOTICE instead of LP_INFO where appropriate;Xavier Santolaria