summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.c
AgeCommit message (Collapse)Author
2005-11-12- fix xsa breakage. char arrays on the stack are not NULL if empty. useNiall O'Higgins
flags instead. - add a few more flags defines while i'm here.
2005-11-12- remove strtab stuff. serves no useful purpose.Niall O'Higgins
diff is from joris@, committing on his behalf because his net connection is very dodgy right now.
2005-11-12support for `-Aoldfile'; joris okXavier Santolaria
2005-11-04kill spaces in usage() to match Reality;Xavier Santolaria
2005-11-03- minor KNFNiall O'Higgins
2005-10-27TMPDIR support; joris okXavier Santolaria
2005-10-19- make a bunch of changes to how we handle verbose output. this brings usNiall O'Higgins
much closer in line with GNU RCS and cleans things up in general. ok joris@, "looks fine to me" xsa@
2005-10-19add co -p support;Joris Vink
input from xsa@ and niallo@;
2005-10-18more rcsmerge(1) bits;Xavier Santolaria
2005-10-18oops, rcs_set_rev() can't operate when str is NULL of course;Joris Vink
2005-10-18use rcs_set_rev() instead of duplicating code all over theJoris Vink
place to set a variable to the given revision number;
2005-10-16fix off-by-one in RCSINIT code, noticed by niallo@Joris Vink
for this my karma drops by 10 points;
2005-10-15RCSINIT support;Joris Vink
ok niallo@
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-12minor knf;Xavier Santolaria
2005-10-12various usage cleanup; ok jorisTheo de Raadt
2005-10-11free logrev on error;Joris Vink
2005-10-10support -mrevision:logmessage; used to set a log message of a revisionJoris Vink
to the specified value; ok niallo@
2005-10-10exit(3) is preferred over return from main().Niall O'Higgins
ok joris@
2005-10-06ident command, written by xsa@ but he is too busy with work right now;Joris Vink
2005-10-06support rlog command;Joris Vink
2005-10-06rcsclean now works;Joris Vink
2005-10-06show fpath when checking out files;Joris Vink
2005-10-06thanks to niallo's diff changes, we now can support rcsdiff;Joris Vink
only basic stuff works, more coming;
2005-09-30allow ci to run, niallo forgot this when he commited his ci code;Joris Vink
2005-09-30KNFJoris Vink
2005-09-30ensure RCSDIR is in fact a directory before deciding to use it.Niall O'Higgins
"go for it" joris@
2005-09-29hrmz..better.Xavier Santolaria
2005-09-29minor knfXavier Santolaria
2005-09-29support -q flag in 'co' and 'rcs'Joris Vink
2005-09-29stuff needed for 'co'Joris Vink
2005-09-29zap unused varsJoris Vink
2005-09-29- prototypes for the RCS commands go in rcsprog.hJoris Vink
- use rcs_statfile() to obtain the correct path to the RCS file
2005-09-29for RCS files look in RCSDIR, if there is no path prefix specified.Joris Vink
if RCSDIR does not exist, look in the parent directory.
2005-09-20missing 'ident' command in the programs table.Joris Vink
2005-09-20- create the correct RCS filename before calling rcs_open().Joris Vink
- don't bail out if we cannot open an RCS file, instead try to continue with the others (if there are any).
2005-09-20be a bit more compatible with gnu rcs in our output.Joris Vink
2005-09-20loop through argv[] correctly instead of reusing argv[0] all the time.Joris Vink
2005-09-20sort headersJoris Vink
2005-04-15seperate usage functions per sub-programTheo de Raadt
shrink usage for rcs(1), that is what man pages are for ok joris
2005-04-15move rcs (and later on, clones of all the other rcs commands) out of theTheo de Raadt
cvs subdirectory; ok jfb joris