summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
AgeCommit message (Collapse)Author
2007-02-22general includes cleanup sweep. ok joris@ niallo@Otto Moerbeek
2007-02-18an erroneous free() crept in due to a merge errorOtto Moerbeek
2007-02-17cvs_path_cat() removal since we can now easily handle thatXavier Santolaria
functionality w/ xsnprintf(); Initial diff started by thib@. OK thib@ joris@.
2007-01-31snprintf() -> xsnprintf()Xavier Santolaria
2007-01-28hey look, i found another debug printf from my merging stuff!Joris Vink
kill-zap-nuke-remove-delete it.
2007-01-28add merging support in both local and remote sides.Joris Vink
tested by many, thanks.
2007-01-26more fixe size buffers on the stack. ok xsa@ joris@Otto Moerbeek
2007-01-26- support [-k mode] for the add commandXavier Santolaria
- do not let the file keyword expension options (-k) disappear from the Entries file when doing a commit/update/checkout - be sure the expension mode gets written to the RCS file when a file is added/committed in the first place problems raised by otto@; tests/ok otto@ and joris@.
2007-01-26Handle CVS/Entries and file timestamp correctly so we doJoris Vink
not mistakenly see a file as Modified while it is not. As a result, we can remove the very hackish cvs_hack_time() and GNU cvs and opencvs should almost get along now. lotsa help and okay The otto@
2007-01-25when acting as a server - immediatly after we checkout a fileJoris Vink
remove its temp copy so our worklist doesnt contain a bazillion entries when checking out src. as a result, we now use very little memory in server mode. found and tested by otto@ ok cool and the gang.
2007-01-18put functions protos at the right place.Xavier Santolaria
2007-01-17on checkout, only create the module path if we find the module.Thordur I. Bjornsson
Also make error ouput match GNU CVS. ok joris@
2007-01-17send -l Argument to server when appropriate.Xavier Santolaria
2007-01-17add support for remote checkout in both our client and server,Joris Vink
with this the last real dependency to actually be able to use opencvs in a remote setup has been added. based upon an initial diff from xsa@ 'kay niallo@
2007-01-16better, share -l and -R flags between checkout and export cmds.Xavier Santolaria
2007-01-16handle -l and -R for checkout too.Xavier Santolaria
2007-01-14reset sticky tags with -A; OK joris@.Xavier Santolaria
2007-01-14replace checkout_write_revision() with rcs_rev_write_stmp()Joris Vink
they do exactly the same anyway.
2007-01-13plug 3 memleaksJoris Vink
2007-01-13remove BUF * argument from cvs_checkout_file() it willJoris Vink
no longer be used, ever.
2007-01-13- remote update now works again, with new rcs apiJoris Vink
- we no longer hold the entire file in memory when sending or receiving it
2007-01-12simplify after recent rcs API changes.Joris Vink
kay niallo@
2007-01-12major re-work of the RCS api. this results in 100x performance improvements ↵Niall O'Higgins
in some places and much reduced memory usage. note that only checkout has been fully converted to use the new high-performance functions. other codepaths (e.g. update) still use the old method which is provided for backwards compatibility. we can convert the remaining slow bits over to the new api piece-by-piece. "commit this, now" joris@ brad@ tested, too.
2007-01-03add support for 'remove' in a remote setup.Joris Vink
testing appriciated, as always.
2007-01-03if we are commiting a file, do not let the server resend itJoris Vink
with an 'Updated' response, seeing as the client will already have the latest version. Instead, send the correct 'Checked-in' response.
2006-12-22snprintf() -> cvs_path_cat();Xavier Santolaria
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-01implement the -p (dump) flag for cvs updateReyk Floeter
ok joris@
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-14simplify cvs_hack_time() and the way it is called;Joris Vink
2006-06-06more bits for the export command to work correctly. OK joris@.Xavier Santolaria
2006-06-03add support for update -A and update -r<rev>.Joris Vink
hacking on the plane from toronto to barbados. i will probably hack some more since im stuck in barbados for 12 lovely hours over night cause the carribean airlines dont understand the meaning over 'more than one flight a day'.
2006-05-31add support for the export command.Joris Vink
export does exactly the same as checkout except it does not create any administrative (CVS/) directories.
2006-05-28enable merging on update. if your file in your working copyJoris Vink
has been modified by yourself and there is a newer revision we try and merge them together. if the merge fails and has conflicts it will mark them inside the file, you will need to resolve these by hand first before you will be able to commit your modified file. works transparent with gnu cvs, as it is suppose to.
2006-05-27support the -d flag for update.Joris Vink
if you specify -d when running update new directories will be build, otherwise they will be skipped.
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-27correctly expand keywords when checking out filesJoris Vink
2006-05-27pruning (-P) support for both the update and checkout commands;Joris Vink
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-24Remove unused variables, better integer types, prevent fallthroughs.Ray Lai
Found by lint. Compare char * variables against NULL for consistency and add parentheses around complicated comparisons, suggested by xsa@. OK xsa@
2006-01-31errors in cvs_checkout_init() are definitly fatal.Xavier Santolaria
2006-01-30strerror() -> rcs_errstr() when passing rcs_errno as argument;Xavier Santolaria
2006-01-27cvs_mkadmin() cannot return < 0 anymore;Xavier Santolaria
2006-01-27errors handling cleaning here too;Xavier Santolaria
2006-01-27errors handling cleaning here too;Xavier Santolaria
2006-01-25use cvs_rcs_getpath() here too + some strings cleanup whilst here.Xavier Santolaria
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-30knfReyk Floeter