summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
AgeCommit message (Collapse)Author
2007-04-26replace REV, REV1 and REV2 with rev, rev1 and rev2, respectively;Igor Sobrado
substitute BRANCH, BRANCH1 and BRANCH2 with branch, branch1 and branch2 ok by jmc@, niallo@, and xsa@
2007-04-26replace D, D1 and D2 by date, date1 and date2 respectively;Igor Sobrado
date1<date2 implies date2>date1, not date2<date1 ok by jmc@, niallo@ and xsa@
2007-04-26`[-sstate[:rev]]' is not available in rcs(1)Igor Sobrado
ok by jmc@, niallo@, and xsa@
2007-04-26the message returned by usage() must fit on a 80-column displayIgor Sobrado
ok by jmc@, niallo@, and xsa@
2007-04-26compatibility (`do nothing') options do not need to be announcedIgor Sobrado
in the synopsis/usage(); we do not want `[-L label]' three times ok by jmc@, niallo@, and xsa@
2007-04-26replace tabs by spaces in the message returned by usage()Igor Sobrado
ok by jmc@, niallo@, and xsa@
2007-04-23chopping the end of this sentence off made more sense than fixing it;Jason McIntyre
ok xsa
2007-04-21Add a reference to the original RCS paper.Jonathan Gray
ok joris@ xsa@ jmc@
2007-04-16file argument is not mandatory, say so.Xavier Santolaria
from Pierre Riteau via ray@; OK jmc@.
2007-03-27sync with espie@'s latest change to diff(1).Xavier Santolaria
from src/usr.bin/diff/diffreg.c rev 1.67: improve -p for C++ code: classes definition often have public:/protected:/private: at the start of line. This lets the -p scanner just take note of the section and keep looking for the actual class definition. Also increase function name bufsize so it shows most of these pesky C++ decls... OK niallo@ espie@.
2007-03-15When commiting multiple files with ci, the flags from the previousAlexander Bluhm
files affected the later ones. ok niallo@ xsa@
2007-03-03make this modern CTheo de Raadt
2007-03-02Sync rcsnum.c with OpenCVS, from Charles Longeau.Ray Lai
OK niallo@ and xsa@.
2007-02-27As done in OpenCVS, general includes cleanup sweep. OK otto@.Xavier Santolaria
2007-02-22If a ,suffix file is given as an arg to ci and co, strip it. AvoidsOtto Moerbeek
potential disasters. Initial diff from niallo@, ok niallo@ joris@
2007-02-22Fix const inconsistencies, void pointer artithmetic;Xavier Santolaria
Based on diff from otto@ in OpenCVS. OK otto@.
2007-02-21make sure checkout_rev() sets correct file permissions via file->rf_modeNiall O'Higgins
in case where fstat() of file->rf_fd won't give us right mode. fixes PR #5383 ok xsa@
2007-02-18keep correct permissions on the RCS file when locking/unlocking the fileXavier Santolaria
with ci and co. fixes PR 5379. OK millert@ joris@.
2007-02-16Correct function name in comment.Ray Lai
From Pierre Riteau <pierre dot riteau at free dot fr>. OK xsa@.
2007-02-14sync some manual page entries with actual usage.Niall O'Higgins
ok jmc@, xsa@ mostly From: Igor Sobrado <igor at string1.ciencias.uniovi.es>
2007-02-08When getc() returns EOF, either feof() or ferror() will return true,Ray Lai
so no need to check them. Removes a bitwise OR that should have been a logical OR as well. From Pierre Riteau <pierre dot riteau at free dot fr>. OK joris@.
2007-02-02Remove cb_cur or replace with cb_buf; cb_cur was the same as cb_bufRay Lai
most of the time and was never of much use. OK niallo@.
2007-02-02Remove unused and buggy {cvs,rcs}_buf_set functions.Ray Lai
Bugginess pointed out and fix provided by Pierre Riteau. OK joris@.
2007-02-01When checking to see if a checked-out copy of the file is the sameTodd C. Miller
as what is in the repo, expand keywords before doing the diff. OK xsa@
2007-01-20Prevent negative array index accesses when strlen(buff) == 0.Ray Lai
OK joris@
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-11missed a bit. pointed out by jmc@Niall O'Higgins
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-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-10Clear EOF before prompting user for input.Ray Lai
Fixes PR 5342. OK joris@ and xsa@.
2007-01-03manual page should not mention options which are not yet implemented.Niall O'Higgins
pointed out by Igor Sobrado <igor at string1.ciencias.uniovi.es> discussed with xsa@ ray@ jmc@
2007-01-02- fix support for checking out binary files.Niall O'Higgins
testing from xsa@ and Igor Sobrado <igor at string1.ciencias.uniovi.es> ok xsa@
2006-12-28- remove un-needed trailing backslash from LINKS declaration.Niall O'Higgins
noticed by Igor Sobrado <igor at string1.ciencias.uniovi.es>
2006-12-27- sync with usageNiall O'Higgins
2006-12-27- no need to mention -e option twice in usage.Niall O'Higgins
pointed out by Igor Sobrado <igor at string1.ciencias.uniovi.es>
2006-12-23Spelling.Kenneth R Westerback
'preceeding' -> 'preceding' 'preceeds' -> 'precedes' 'preceeded' -> 'preceded'
2006-12-21- plug memleak in rcs_parse_delta()Niall O'Higgins
same as opencvs diff, ok xsa@
2006-11-18- update commentNiall O'Higgins
2006-11-13no magic, use defined RCS_LOCK_INVAL variable.Xavier Santolaria
2006-11-10Unlike GNU rcs, our co will not overwrite an existing file, evenTodd C. Miller
if the existing file is not writable. While safer, this can be annoying. I've changed things to compare the version of the file being checked out with its current contents and, if they are the same, to allow the checkout without user intervention. The behavior when there is a writable version of the file is unchanged. OK xsa@
2006-11-09Simplify stripping of write bits from file mode.Todd C. Miller
Add support for reusing the checkin message for multiple files, ala GNU Fix the message when you abort a checkout and the file was not writable. OK joris@ niallo@
2006-10-24Check that string length != 0 before setting buf[strlen(buf) - 1].Ray Lai
OK xsa@.
2006-10-12- convert some warnx() to warn(), which fixes a few stupidly un-informative ↵Niall O'Higgins
error messages (found by tom@) - make rcs_choosefile() save wrt errno, input from ray@ ok joris@ xsa@
2006-09-27Add and correct comments, spacing.Ray Lai
OK niallo@.
2006-09-27Plug memory leak.Ray Lai
OK niallo@.
2006-09-25Remove debugging printf accidentally committed.Ray Lai
OK joris@.
2006-09-22- explain diff_options (which i renamed from "diff options")Jason McIntyre
- sync usage() ok xsa
2006-09-22- handle deltatexts which don't end in a newline character. fixes PR #5241.Niall O'Higgins
ok ray@
2006-09-21nick a double space;Jason McIntyre
2006-09-21Add support to rcsdiff for all the other diff flags thatTodd C. Miller
are pertinent to files (not directories) and that do not conflict with rcsdiff-specific flags. OK xsa@