summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/remove.c
AgeCommit message (Collapse)Author
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-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-27when we specify the 'f' flag do not bother removing files thatJoris Vink
dont exist on disk anyway, and when removing a file that has been added but not commited the correct file_status is FILE_REMOVE_ENTRY and not FILE_ADDED. ok otto@
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@
2007-01-03make sure remove -f also works in remote setupJoris Vink
2007-01-03add support for 'remove' in a remote setup.Joris Vink
testing appriciated, as always.
2006-12-14no need to send -f to the server; this flag has effectXavier Santolaria
on the client-side only.
2006-11-06- handle global -n flag in conjunction with remove -f.Xavier Santolaria
- better error message.
2006-10-31a step ahead in opencvs add|remove remote support.Xavier Santolaria
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-05-31dont check for FILE_UNKNOWN twice,Joris Vink
noticed by xsa@
2006-05-30correctly handle unknown file in removeJoris Vink
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-30prettier output when removing files;Joris Vink
2006-05-29fix pastoXavier Santolaria
2006-05-29remove likes some CR_RECURSE_DIRS luvin' too.Joris Vink
2006-05-29add remove support, hacked by xsa@ but lots of modificationsJoris Vink
from me to actually make it work properly. commiting since xsa@ is not around and i want to move forward. ray@ agrees.
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-03-16zap more unused variables.Xavier Santolaria
2006-01-27errors handling cleaning here too;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-03add very basic support for the following stuff:Joris Vink
- checkout in local mode (example: /cvs) - update in local and server mode (example: /cvs and user@host:/cvs) - import in local and server mode (example: /cvs and user@host:/cvs) what remains to be done: - not all options are supported yet, and update cannot pick up newly added files yet. these things are pending and will be commited real soon. - checkout only works locally right now. - fix rcs parsing code so that we don't fucking hog 100% cpu on really BIG BIG BIG ass trees. mainly tested by pedro@ and myself, thanks a lot pedro! "go for it" niallo@
2005-10-07knf and spacing, ok joris@Reyk Floeter
2005-09-06more bits for the local remove command support; OK joris@.Xavier Santolaria
2005-08-22- handle removal of a freshly added fileXavier Santolaria
- fix crash if we specify -f and the file is not on disk anymore ok joris@.
2005-08-12a few things left to do here.Xavier Santolaria
2005-08-10style..Xavier Santolaria
2005-07-29do not send a MODIFIED request to the server for a newly added file weJoris Vink
already removed again. spotted by & ok xsa@
2005-07-29make sure we do not try to send the file to the server if it is noJoris Vink
longer on disk. problem reported by Nuno Morgadinho. ok xsa@
2005-07-27more use of LP_NOTICE instead of LP_INFO;Xavier Santolaria
2005-07-27use LP_NOTICE instead of LP_INFO where appropriate;Xavier Santolaria
2005-07-26remove the (errno != ENOENT) check now that it is included in cvs_unlink();Xavier Santolaria
2005-07-25"file file" -> "this file" in an info msg;Xavier Santolaria
2005-07-25KNF;Xavier Santolaria
2005-07-24some more `if (!var)' cleanup;Xavier Santolaria
2005-07-24use cvs_unlink();Xavier Santolaria
2005-07-24do not use `if (!var)' unless it's boolean, better use an == check;Xavier Santolaria
ok jfb@ joris@.
2005-07-23fix remote remove command, gcc didn't even catch this misplaced bracket.Joris Vink
2005-07-21if the remove command is issued on a file that has been added but notXavier Santolaria
committed yet, remove CVS/<file>,t (in local mode); ok joris@.
2005-07-20fix local mode; ok joris@.Xavier Santolaria
2005-07-11print info message;Xavier Santolaria
2005-07-08split local and remote function handlers from each other.Joris Vink
2005-07-07remove trailing whitespacesJoris Vink
from deraadt@
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