summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
AgeCommit message (Collapse)Author
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.
2007-01-12fix incorrect output which was driving me more then crazyJoris Vink
2007-01-11sync a bit with realityJoris Vink
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@
2007-01-10add a cvs_file_copy routine and use it for the edit command toXavier Santolaria
copy the file in the current working directory to CVS/Base/ ok ray@ joris@.
2007-01-09add remote handler for the cvs watch command; not linked to the build.Xavier Santolaria
2007-01-09remove uneeded linebreak when creating the CVS/NotifyXavier Santolaria
file with the edit command.
2007-01-08- simplify CVS/Baserev file parsing; makes unedit work better.Xavier Santolaria
- add tracing messages in edit, unedit functions.
2007-01-07add the temporary file we create to the temp_files worklistJoris Vink
2007-01-07make the output when interrupting writing the log message consistent.Jasper Lievisse Adriaanse
ok joris@ commiting with opencvs now btw :)
2007-01-07use cvs_logmsg_read() for -F for simplicity.Joris Vink
2007-01-07and lets make import work with the new logmsg code too!Joris Vink
2007-01-07free the filelists we pass to cvs_logmsg_create()Joris Vink
after we obtain our logmessage.
2007-01-07rewrite of the logmessage code, which allows you toJoris Vink
enter a logmessage into your favorite editor when commiting.
2007-01-07zap-o-matic 2007:Joris Vink
- zap unused argument to cvs_exec()
2007-01-06add cvs_base_handle() routine to handle the CVS/Baserev* files.Xavier Santolaria
first bits for the edit command for now. definitly still more work to do for optimization...
2007-01-05for edit: create the CVS/Base directory if it does not already exist.Xavier Santolaria
2007-01-05use current working directory fullpath for notifications.Xavier Santolaria
2007-01-05correctly handle time in notifications.Xavier Santolaria
2007-01-05use correct hostname for notifications.Xavier Santolaria
also, in a near future, might be worth thinking about sharing some code between the edit and unedit commands, would shrink the mess a little bit...
2007-01-05starting bits for the edit command. more to come.Xavier Santolaria
2007-01-05- introduce file comparison routine, cvs_file_cmp().Xavier Santolaria
- compare the <file> in working dir and the one in CVS/Base/<file> for the unedit command. hints otto@, input and ok ray@ niallo@.
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.
2007-01-03revert changes made in 1.40 - it breaks add in a remote setupJoris Vink
because opencvs server does not support 'wrapper-sendme-rcsOptions' for the moment.
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.
2007-01-03fix CVS_CLIENT_LOG logging, we were missing partsJoris Vink
which was making it very hard to correctly debug remote connections.
2007-01-03bring back cvs_yesno() as is it going to be used pretty soon now.Xavier Santolaria
2007-01-03set permissions back on the file after it got copied from theXavier Santolaria
CVS/Base/ directory.
2007-01-02- fix cvs_client_remove_entry to correctly handle the passed dataJoris Vink
- when commiting in a remote setup, allow the opencvs server to send the correct response to the client when a file has been removed
2007-01-02some unedit command bits; still work in progress for local mode.Xavier Santolaria