summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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.
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-12more secsh -> rfc 4716 updates;Jason McIntyre
spotted by wiz@netbsd ok markus
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.
2007-01-12fix incorrect output which was driving me more then crazyJoris Vink
2007-01-11missed a bit. pointed out by jmc@Niall O'Higgins
2007-01-11sync a bit with realityJoris Vink
2007-01-11remove some un-needed buffer NUL-termination. in openrcs, diff3 is already ↵Niall O'Higgins
NUL-terminating its buffers so we don't need to do it twice. this allows us to sync rcs_splitlines() with opencvs' cvs_splitlines(). ok joris@
2007-01-11silence some warnings.Jasper Lievisse Adriaanse
ok joris@
2007-01-11rework opencvs so that we can deal with binary files. previously we assumed ↵Niall O'Higgins
all files were ascii, which broke things in real-world usage. now a checkout of src should work, albeit using lots of memory and cpu. fixing this is the next step. testing by many. ok & some input joris@
2007-01-11update the revision number in CVS/Entries from CVS/Baserev if weXavier Santolaria
are reverting to the revision that the user edited in the first place. ok joris@.
2007-01-11revert last commit after discussing w/ joris@; makes sense to removeXavier Santolaria
the tmp files once we'r done w/ them, not at the very end only..
2007-01-11no need to unlink() the tmp files here as they have already been addedXavier Santolaria
to the temp_files walklist anyway..
2007-01-11strl* overload, use xasprintf().Xavier Santolaria
2007-01-11strl* overload, use xasprintf().Xavier Santolaria
2007-01-11save errno.Xavier Santolaria
2007-01-11sync joris' last change (connection to remote server when all options areXavier Santolaria
valid) for the unedit command too.
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@