summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.c
AgeCommit message (Collapse)Author
2006-01-06typos;Xavier Santolaria
2006-01-05cleanup, move log.h and rcs.h inclusion into rcsprog.h;Xavier Santolaria
2006-01-02#include's cleanup; ok joris@ niallo@.Xavier Santolaria
2005-12-27- implement lazy-parsing of rcs files, that is only parse as much as weNiall O'Higgins
need. this can save us much work, particularly with very large rcs files. first of a few important performance improvements. ok joris@
2005-12-24error message consistency in fatal();Xavier Santolaria
2005-12-24- support for -n -N and -t;Joris Vink
- check for path truncation; - do not pollute flags being passed to rcs_open() with local flags; - fix rcs initialization stuff;
2005-12-21use fatal();Xavier Santolaria
2005-12-14correct usage();Xavier Santolaria
2005-12-10switch to xmalloc stuff, me and xsa@ agreed on this a longJoris Vink
time ago, but we were being held back by jfb. too bad for him. next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again. ok niallo@ and xsa@
2005-12-09don't complain too often about 'redefinition of revision number',Joris Vink
specially when rev is actually NULL.
2005-11-30`-ztz' is only here for compatibility;Xavier Santolaria
2005-11-28sync usage() for `-xsuffixes';Xavier Santolaria
2005-11-27- fix really stupid bug introduced in the last xsa commit.Niall O'Higgins
problem found by me, joris' eyes spotted the semi colon.
2005-11-25add `-T' support for rcsclean(1) and rcs(1);Xavier Santolaria
2005-11-25add support for `-T' and enable it for co(1);Xavier Santolaria
tested and OK niallo@. "Looks good" joris@.
2005-11-23initial bits for -T support;Xavier Santolaria
2005-11-21enable `-xsuffixes' support as it has been added a few days agoXavier Santolaria
in rcs_statfile(); niallo ok
2005-11-21- modularisation; split the two major checkin operations into functions.Niall O'Higgins
- modularisation; split the revert code into checkin_revert() - a few steps closer to rcsfile initialisation, but things need to be fixed in the rcs.c api first (currently we segfault). - add a new checkin_choose_rcsfile() function to decide where the rcsfile should go. - add a special case for ci to rcs_statfile() so that we don't print out an error if the rcsfile doesn't exist.
2005-11-21tweaks;Xavier Santolaria
2005-11-20rcs_statfile() improvements; initial work from joris + some bits from me;Xavier Santolaria
niallo ok
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