summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
AgeCommit message (Collapse)Author
2005-10-13- sync checkin_usage().Niall O'Higgins
2005-10-13- `date' argument to -d option is now optional, reflect this in the manual page.Niall O'Higgins
2005-10-13- implement bare `-d' option; this sets the check-in date and timeNiall O'Higgins
to be that of the working file's last modification time.
2005-10-13To be fully compatibly with the GNU RCS tools we need to have theJoris Vink
same way of parsing commandline options. Since getopt(3) allows spaces between arguments and GNU RCS tools does not we needed to roll out our own way of option handling, and here it is. ok niallo@
2005-10-12add a cast when doing cvs_buf_release();Niall O'Higgins
2005-10-12minor knf;Xavier Santolaria
2005-10-12various usage cleanup; ok jorisTheo de Raadt
2005-10-12sync SEE ALSO sections;Xavier Santolaria
2005-10-12rlog man page;Xavier Santolaria
2005-10-11sync options somewhat, make -m format a little nicer, and correct theJason McIntyre
grammar for its description; ok joris@
2005-10-11zap unused variable `dflag'Niall O'Higgins
2005-10-11- support -d <date> option in ci.Niall O'Higgins
ok joris@
2005-10-11correctly set the filename by setting the diff_file variable;Joris Vink
fixes the (null) stuff seen when using rcsdiff; ok niallo@
2005-10-11free logrev on error;Joris Vink
2005-10-10sync with realityJoris Vink
2005-10-10support -mrevision:logmessage; used to set a log message of a revisionJoris Vink
to the specified value; ok niallo@
2005-10-10getlogin(2) sets errno;Xavier Santolaria
2005-10-10- update `-l' and `-u' descriptions to include optional <rev>Niall O'Higgins
- update SYNOPSIS for the same thing
2005-10-10- support <rev> parameter to `-l' and `-u' options.Niall O'Higgins
- sync checkin_usage(). note that with OpenRCS you must do `ci -l -- <file>' and `ci -u -- <file>' when using bare arguments because our getopt(3) is POSIX compliant.
2005-10-10make sure that revision passed on command line is greater than HEAD.Niall O'Higgins
2005-10-10exit(3) is preferred over return from main().Niall O'Higgins
ok joris@
2005-10-10ensure that the user has a lock on the correct revision before allowingNiall O'Higgins
check-in. ok joris@
2005-10-10sync checkout_usage();Niall O'Higgins
2005-10-10- update `-l' `-r' and `-u' descriptions to include optional <rev>Niall O'Higgins
- update SYNOPSIS for the same thing
2005-10-10- set permissions on checked out files correctlyNiall O'Higgins
- support bare `-u' and `-l' options which will check out HEAD. note that with OpenRCS you must do `co -l -- <file>' and `co -u -- <file>' when using bare arguments because our getopt(3) is POSIX compliant. ok joris@
2005-10-09if -r is not specified, we need to set newrev to file->rf_head.Niall O'Higgins
simpler fix than what i had in mind pointed out by joris.
2005-10-09if there is a problem generating the diff for one of the files, continueNiall O'Higgins
to process other files but eventually exit with status 2. this mimics GNU rcs behaviour. ok joris@
2005-10-09only get the log message when it's not specified on the command-line;Joris Vink
noticed by niallo@
2005-10-09simplify if() conditions;Joris Vink
ok niallo@
2005-10-09- document `-r' switch as a single option instead of two distinct options.Niall O'Higgins
- sync with checkin_usage() input from jmc@
2005-10-09- sync checkin_usage()Niall O'Higgins
- add support for checking-in to arbitrary revisions via -r option. eg: ci -r1.30 <file> check in file, jump to revision 1.30 and set that revision to HEAD.
2005-10-08tweaks;Jason McIntyre
2005-10-08new sentence, new line;Jason McIntyre
grammar;
2005-10-08fix SEE ALSO;Jason McIntyre
2005-10-08fix SEE ALSO;Jason McIntyre
2005-10-08new sentence, new line;Jason McIntyre
2005-10-08- document -r flagNiall O'Higgins
- add ident(1) to SEE ALSO
2005-10-08sync rcsdiff_usage()Niall O'Higgins
2005-10-08kill extra ']'Joris Vink
2005-10-08- add support for diffing working file against arbitrary revision, egNiall O'Higgins
rcsdiff -r1.1 <file> - add support for diffing arbitrary revision against arbitrary revision, eg rcsdiff -r1.1 -r1.3 <file> ok joris@
2005-10-08support unified, context and rcsdiff outputJoris Vink
(-u -c -n flags)
2005-10-08initial manpages for rcsclean and rcsdiff;Joris Vink
2005-10-08add ident(1) to SEE ALSO here as well;Joris Vink
2005-10-08add ident(1) to SEE ALSONiall O'Higgins
pointed out by joris@
2005-10-08remove useless comment about command line options. not needed since thisNiall O'Higgins
is all in the manual page now.
2005-10-08sync checkin_usage() with manual pageNiall O'Higgins
2005-10-08add a basic manual page for `ci' command.Niall O'Higgins
2005-10-08- add support for -u and -l optionsNiall O'Higgins
- KNF
2005-10-08remember to NUL-terminate logbuf in checkin_getlogmsg()Niall O'Higgins
2005-10-08KNF;Niall O'Higgins