summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/status.c
AgeCommit message (Collapse)Author
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
2005-07-06correct file status strings;Xavier Santolaria
2005-07-05correct ouput to match gnu/usr.bin/cvs; more to come.Xavier Santolaria
ok joris@.
2005-07-05`No' -> `no' in output; matches gnu/usr.bin/cvs output;Xavier Santolaria
2005-06-30add missing method check in pre_exec handler ... spotted by joris@.Xavier Santolaria
options can be sent to server now without making it go crazy..
2005-06-30missing \n in server-side output;Xavier Santolaria
2005-06-25match output with the one from GNU cvs.Joris Vink
2005-05-31headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;Xavier Santolaria
2005-05-24Merge the cvs_cmd and cvs_cmd_info structures and add the necessaryJean-Francois Brousseau
fields to hook local versions of the commands. This needs to go in before it gets any bigger ok joris
2005-05-20correct wrong error code usage.Joris Vink
ok jfb@, xsa@
2005-04-27no need to query the Entries line for files anymore and a bit of cleanupJean-Francois Brousseau
2005-04-18Modify the CVSFILE structure using a union to keep information aboutJean-Francois Brousseau
both files and directories. We can now keep the revision number for regular files, and don't need to fetch the appropriate entry in the command callbacks. This saves a huge amount of parsing on Entries files. ok joris@
2005-04-16thought i had committed that earlier;snprintf return value check; joris okXavier Santolaria
2005-04-16make sure we send the correct stuff for newly added files thatJoris Vink
are not commited yet.