summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/status.c
AgeCommit message (Collapse)Author
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-10RCS files without head keyword mustn't segfault our implementation. OnlyTobias Stoeckmann
command that supports such files is "cvs status", therefore properly handle them in all other commands, too.
2007-09-22better branching/sticky tag support, no branch commits yet though.Joris Vink
2007-07-03On the server side, in a remote setup, do not display timestamp.Xavier Santolaria
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-01add support for local and remote branch checkout. for example,Niall O'Higgins
cvs co -rOPENBSD_3_0 works now. along the way, simplify and rationalise code and fix a few nits. ok joris@ xsa@ 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-31snprintf() -> xsnprintf()Xavier Santolaria
2007-01-12do not leak memory from rcs_head_get()Joris Vink
ok niallo@
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-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-07-07fix segfault for newly added files.Joris Vink
found while test driving the new remote code.
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-07bring back -v support; OK joris@.Xavier Santolaria
2006-06-04fix output if file is lost, unknown, or in the Attic; OK joris@.Xavier Santolaria
2006-06-01major rewrite of some rcs parsing stuff:Joris Vink
- rework rcs_getrev() to correctly support branches - rework rcs_translate_tag() to correctly translate given symbols or branches into their matching revisions - rework rcs_rev_add() to correctly update its 'next' pointers and insert the new revision in the correct place on the list. - rework rcs_head_get() to return the latest revision on the default branch if it has been set or the normal HEAD revision otherwise. - no longer access the rf_head member of the RCSFILE struct manually, use the rcs_head_get() function which correctly returns the HEAD revision, there might be a default branch that has to be used. - for now, when commiting a new revision reset the default branch.
2006-05-30fill in the correct revision number we will want in file_rcsrevJoris Vink
for each cvs_file struct, this will help us with sticky tags, commiting to branches and importing into existing repositories.
2006-05-30handle -q for Sticky Options and Sticky Tags output; OK joris@.Xavier Santolaria
2006-05-28allow commands to shut up the output from cvs_file_classifyJoris Vink
if the commands want to output certain stuff themselfs
2006-05-27allow commands to respect the -l flag, if the -l flag isJoris Vink
specified certain commands will not recurse into directories. at the same time introduce a method of specifying wether or not a command should look in the repository for files.
2006-05-27commit the new opencvs code, i have been hacking onJoris Vink
this for the past 2 weeks now and it should go in at the start of the hackathon so others can help out. this code is a lot safer, smarter, faster and best of all it is actually doing what it is suppose to do! basic checkout, update, status, diff and commit are working in local mode only. there is no support for any remote setups now.
2006-04-14remove a metric buttload of excessive ()Theo de Raadt
no binary change; ok ray
2006-04-12yet another missing break;Xavier Santolaria
2006-01-30strerror() -> rcs_errstr() when passing rcs_errno as argument;Xavier Santolaria
2006-01-27more errors handling cleanup;Xavier Santolaria
2006-01-25snprintf() cleanup; OK niallo@.Xavier Santolaria
2006-01-02#include's cleanup; ok joris@ niallo@.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-09-22style;Xavier Santolaria
2005-09-05add warning message if file status is unknown;Xavier Santolaria
2005-08-17only close the RCS file if we opened it.Joris Vink
fixes a crash with newly added files. ok jfb@
2005-08-17trailing whitespaces ...Xavier Santolaria
2005-08-08zap unused vars;Xavier Santolaria
2005-07-27use LP_NOTICE instead of LP_INFO where appropriate;Xavier Santolaria
2005-07-22use the cf_name field of the CVSFILE struct instead of using the oldJoris Vink
CVS_FILE_NAME macro. This macro used to be nifty because of all the referencing for the names, but since we don't do that anymore and use cf_name directly... byebye CVS_FILE_NAME() okay xsa@
2005-07-19print existing tags if any (-v); long time ago Ok joris@.Xavier Santolaria
2005-07-14more use of cvs_rcs_getpath();Xavier Santolaria
2005-07-10no need to declare the verbosity var here as it is already done in cvs.h;Xavier Santolaria
2005-07-08handle -Q correctly; Ok joris@.Xavier Santolaria
2005-07-08if a file has been locally added, output correct info! Ok joris@.Xavier Santolaria
2005-07-08hrmz spaces...Xavier Santolaria
2005-07-08display in local mode only the mtime of a file stored in the Entries file;Xavier Santolaria
Ok joris@.
2005-07-07more snprintf(3) checks, check against the correctJoris Vink
size of the buffer, close RCSFILE on error. ok xsa@
2005-07-07add info message when examining directories; Ok joris@.Xavier Santolaria
2005-07-07snprintf(3) checks.Joris Vink
ok xsa@
2005-07-07add comment;Xavier Santolaria
2005-07-07display what we should in case the file is unknown to cvs. Ok joris@.Xavier Santolaria