summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
2007-01-24user proper format string for size_t; file size is off_t; ok joris@Otto Moerbeek
2007-01-24terminate CVS/Entries with a newline.Pierre-Yves Ritschard
ok joris@, xsa@
2007-01-24the ok from xsa was for another diff, rollback previous commit.Pierre-Yves Ritschard
2007-01-24put a newline at the end of the Entries file, this syncs withPierre-Yves Ritschard
GNU cvs behavior and is easier on the eyes. ok xsa@
2007-01-23When acting as a server do not blindly removeJoris Vink
directories in cvs_update_leavedir(). fixes the "Device busy" error some people have been seeing. problem initially reported by Frank Denis. ok xsa@
2007-01-23Don't fatal() when unexpected files are encountered in the workingRay Lai
copy. Allows obj/ directories to exist (which are typically symlinks.) OK joris@
2007-01-21add support for the -A flag;Xavier Santolaria
wrap some lines while there. OK joris@.
2007-01-20typoJoris Vink
2007-01-20Add missing check for fgets return value inThordur I. Bjornsson
cvs_get_repository_name(). OK joris@
2007-01-20Prevent negative array index accesses when strlen(buff) == 0.Ray Lai
OK joris@
2007-01-20more safety checks for file->file_rcsrev;Joris Vink
'cool' niallo@
2007-01-20sweep opencvs for missing rcs_translate_tag() return checks.Niall O'Higgins
2007-01-20check return value of rcs_translate_tag(). prevents a segfault found by ↵Niall O'Higgins
todd@. still need to fix tag translation though. ok joris@
2007-01-19another place to check for DT_UNKNOWN for d_type for afs/nfsTodd T. Fries
2007-01-19When we hit a DT_UNKNOWN for dirent->d_type in our filelist functions,Joris Vink
stat() the filepath to get the correct type, and therefor add it to the appropriate list. This fixes opencvs with CVSROOTs on NFS and AFS, because they both return D_UNKNOWN for directories (afs even for files too) in dirent->d_type. problem found by thib@ and todd@ tested by thib@, todd@, ok niallo@
2007-01-19move cvs_import() proto to the correct place.Xavier Santolaria
2007-01-18extra safety check for NULL value.Niall O'Higgins
ok joris@
2007-01-18import improvements:Joris Vink
- add support for remote import in opencvs client and server. - do not free already free'd buffers in import_update() - do not append a '\0' to the loaded file buffer, this was bad behaviour makes import work fine both locally and remotely.
2007-01-18send -l Argument to server when appropriate.Xavier Santolaria
2007-01-18more informative error msg.Xavier Santolaria
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-16handle the export command in cvs_client_{set,clear}_sticky().Xavier Santolaria
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-16sanitize what kind of symbols we can have in symbol names,Joris Vink
tested & found brad@
2007-01-15document `update -C'.Xavier Santolaria
2007-01-15replace old diffing mechanisms with the new fluffy RCS stuff,Joris Vink
okay niallo@
2007-01-14move things around in rcs_rev_getbuf() and rcs_rev_write_fd()Joris Vink
so that we do keyword expansion on-the-fly if required instead of obtaining the revision in memory first, running over the revision lines while expanding keywords and only then writing them to the fd or memory buffer. this drasticly decreases cpu usage by opencvs on very large trees (like src). OK niallo@
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-13nuke the the very evil rcs_getrev() stuffJoris Vink
discussed with niallo@
2007-01-13make import and init work again after the small breakageJoris Vink
we had with the rcs changes;
2007-01-13switch commit code to the new RCS api.Joris Vink
kay niallo@
2007-01-13make a copy of cf->file_ent->ce_rev in cf->file_rcsrev when neededJoris Vink
otherwise we might get a NULL dereference when free'ing the cf struct with cvs_file_free()
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-13the memleak i thought i had fixed was in fact NOT a leak at allJoris Vink
and caused opencvs to crash so revert, oops?
2007-01-13- better error messagesJoris Vink
- correclty use cvs_tagname, so that the tag from $CVSROOT/config will actually be expanded as a keyword.
2007-01-13add missing prototypes for some new rcs api functions;Joris Vink
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-12do not leak memory from rcs_head_get()Joris Vink
ok niallo@
2007-01-12if we have no files to be commited, stop commiting.Joris Vink
2007-01-12and thou shalt not leak memory when removing entriesJoris Vink
2007-01-12complete binary support for opencvs,Joris Vink
adding/importing binary files now works too partially taken from openrcs
2007-01-12link to build the edit, editors, unedit, watch, and watchers commands.Xavier Santolaria
more work needs to be done for them though.