summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2007-01-24terminate CVS/Entries with a newline.Pierre-Yves Ritschard
ok joris@, xsa@
2007-01-24split compress(1) into compress(1) and gzip(1), as suggested by millert;Jason McIntyre
ok/help millert otto
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-22fix detection of whether we should show progress meter or not: scpDamien Miller
tested isatty(stderr) but wrote the progress meter to stdout. This patch makes it test stdout. bz#1265 reported by junkmail AT bitsculpture.com; of dtucker@
2007-01-22return error from do_upload() when a write fails. fixes bz#1252: zeroDamien Miller
exit status from sftp when uploading to a full device. report from jirkat AT atlas.cz; ok dtucker@
2007-01-21add support for the -A flag;Xavier Santolaria
wrap some lines while there. OK joris@.
2007-01-21spacesKevin Steves
2007-01-21spacesKevin Steves
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-18We don't want to use GZIP for compress. Only examine GZIP environmentTodd C. Miller
variable when invoked as gzip, gunzip, gzcat, etc. OK otto@
2007-01-18* add an extra argument to the dir lookup functions to say whether weMarc Espie
should look in the current directory. * refactor include files treatment to have a separate function to look for an include. * use both pieces to make sure system includes do not get looked up in the current directory unless everything else fails. This is != from the netbsd solution to the same problem, which stuffs `magic' entries into filepaths to say whether dot should be looked at first or last. feature requested by matthieu@. okay matthieu@
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-17Honour activep for times (eg ServerAliveInterval) while parsingDarren Tucker
ssh_config and ~/.ssh/config so they work properly with Host directives. From mario.lorenz@wincor-nixdorf.com via bz #1275. ok markus@
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-17realively -> relativelyRay Lai
``yep'' jmc@
2007-01-16Eliminate gcc -Wundef warnings in flex-generated code.Marc Aurele La France
ok miod@
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-15When checking in multiple files, if no log message is entered forTodd C. Miller
a file, don't prompt the user to reuse the (non-existent) log message for the next. Makes ci behave like the GNU version. OK xsa@, joris@, niallo@
2007-01-15document `update -C'.Xavier Santolaria
2007-01-15Fix -a when given an entry with an already existing user. Also, giveOtto Moerbeek
error message if a user arg has been given with -a. Noted by Dan Brosemer. ok millert@ jaredy@
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.