summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
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@
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-10you know what, now that openrcs is in fact working properly andJoris Vink
has been in the previous release - how about we give it a proper version instead of "OpenCVS RCS 3.6" okay xsa@, ray@
2007-01-10- use .Sq for single characters, rather than .DqJason McIntyre
- zap trailing whitespace
2007-01-10do not use a list for SYNOPSIS;Jason McIntyre
this is actually part of a larger report sent by eric s. raymond and forwarded by brad, but i only read half of it. spotted by brad.
2007-01-10Clear EOF before prompting user for input.Ray Lai
Fixes PR 5342. OK joris@ and xsa@.
2007-01-09fix usageTheo de Raadt
2007-01-09add remote handler for the cvs watch command; not linked to the build.Xavier Santolaria
2007-01-09Ignore "mapping symbols" like $a and $t. They seem to be an ARM-onlyChris Kuethe
feature, used to indicate whether code is ARM or Thumb. Unfortunately they confuse gprof, which outputs call graphs where every other function is named "$a"... not very useful. Rather than enumerating the different symbols, binutils ignores anything beginning with '$', and that is what we will do here. Thanks to Dale Rahn for useful tips along the way. ok miod
2007-01-09remove uneeded linebreak when creating the CVS/NotifyXavier Santolaria
file with the edit command.
2007-01-09Accept empty command, from Matthew R. Dempsky; ok deraadt@ millert@Otto Moerbeek
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-05tidy & sort help displayOtto Moerbeek
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-05add new g command to interactive help; from Mark LumsdenOtto Moerbeek
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-04extend make grammar slightly:Marc Espie
- make it possible to have constructs like .if $A$B == "value" instead of simpler .if $A == "value" - make it possible to have explicit strings comparisons like: .if "string" == "string2" this comes in handy in .for loops, where the variable is expanded, and thus there is no longer any variable for make to look at. So in the end, the "" can sometimes be removed, but not always... small price to pay to get `better' expressions. okay otto@
2007-01-04having a function that iterates through node's datum so that we retrieveMarc Espie
the list item with lst_member is non-sensical, create a new function (Lst_ForEachNodeWhile) that iterates through lstnodes directly and use it. Less obfuscated, slightly more efficient... okay otto@
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-03Missing 'T' in interactive command list. From Mark Lumsden.Otto Moerbeek