summaryrefslogtreecommitdiffstats
path: root/usr.bin/rcs/rcsprog.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - fix some bugs when handling strange revision numbers (0 and 1). found byniallo2006-02-211-1/+21
| | | | | | my automatic tool. ok xsa@
* snprintf() cleanup; OK niallo@.xsa2006-01-251-12/+13
|
* typos;xsa2006-01-061-2/+2
|
* cleanup, move log.h and rcs.h inclusion into rcsprog.h;xsa2006-01-051-3/+1
|
* #include's cleanup; ok joris@ niallo@.xsa2006-01-021-13/+2
|
* - implement lazy-parsing of rcs files, that is only parse as much as weniallo2005-12-271-2/+2
| | | | | | | | need. this can save us much work, particularly with very large rcs files. first of a few important performance improvements. ok joris@
* error message consistency in fatal();xsa2005-12-241-3/+3
|
* - support for -n -N and -t;joris2005-12-241-11/+129
| | | | | | - check for path truncation; - do not pollute flags being passed to rcs_open() with local flags; - fix rcs initialization stuff;
* use fatal();xsa2005-12-211-15/+7
|
* correct usage();xsa2005-12-141-2/+2
|
* switch to xmalloc stuff, me and xsa@ agreed on this a longjoris2005-12-101-14/+5
| | | | | | | | | 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@
* don't complain too often about 'redefinition of revision number',joris2005-12-091-2/+2
| | | | specially when rev is actually NULL.
* `-ztz' is only here for compatibility;xsa2005-11-301-3/+9
|
* sync usage() for `-xsuffixes';xsa2005-11-281-3/+3
|
* - fix really stupid bug introduced in the last xsa commit.niallo2005-11-271-2/+2
| | | | problem found by me, joris' eyes spotted the semi colon.
* add `-T' support for rcsclean(1) and rcs(1);xsa2005-11-251-4/+12
|
* add support for `-T' and enable it for co(1);xsa2005-11-251-1/+47
| | | | tested and OK niallo@. "Looks good" joris@.
* initial bits for -T support;xsa2005-11-231-2/+5
|
* enable `-xsuffixes' support as it has been added a few days agoxsa2005-11-211-1/+4
| | | | | in rcs_statfile(); niallo ok
* - modularisation; split the two major checkin operations into functions.niallo2005-11-211-2/+3
| | | | | | | | | | - 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.
* tweaks;xsa2005-11-211-3/+10
|
* rcs_statfile() improvements; initial work from joris + some bits from me;xsa2005-11-201-11/+58
| | | | niallo ok
* - fix xsa breakage. char arrays on the stack are not NULL if empty. useniallo2005-11-121-2/+3
| | | | | flags instead. - add a few more flags defines while i'm here.
* - remove strtab stuff. serves no useful purpose.niallo2005-11-121-5/+1
| | | | | diff is from joris@, committing on his behalf because his net connection is very dodgy right now.
* support for `-Aoldfile'; joris okxsa2005-11-121-7/+21
|
* kill spaces in usage() to match Reality;xsa2005-11-041-3/+3
|
* - minor KNFniallo2005-11-031-3/+3
|
* TMPDIR support; joris okxsa2005-10-271-2/+6
|
* - make a bunch of changes to how we handle verbose output. this brings usniallo2005-10-191-17/+3
| | | | | | much closer in line with GNU RCS and cleans things up in general. ok joris@, "looks fine to me" xsa@
* add co -p support;joris2005-10-191-4/+9
| | | | input from xsa@ and niallo@;
* more rcsmerge(1) bits;xsa2005-10-181-1/+2
|
* oops, rcs_set_rev() can't operate when str is NULL of course;joris2005-10-181-1/+4
|
* use rcs_set_rev() instead of duplicating code all over thejoris2005-10-181-1/+13
| | | | place to set a variable to the given revision number;
* fix off-by-one in RCSINIT code, noticed by niallo@joris2005-10-161-2/+3
| | | | for this my karma drops by 10 points;
* RCSINIT support;joris2005-10-151-3/+64
| | | | ok niallo@
* To be fully compatibly with the GNU RCS tools we need to have thejoris2005-10-131-11/+71
| | | | | | | | 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@
* minor knf;xsa2005-10-121-2/+2
|
* various usage cleanup; ok jorisderaadt2005-10-121-7/+6
|
* free logrev on error;joris2005-10-111-1/+2
|
* support -mrevision:logmessage; used to set a log message of a revisionjoris2005-10-101-5/+41
| | | | | | to the specified value; ok niallo@
* exit(3) is preferred over return from main().niallo2005-10-101-2/+2
| | | | ok joris@
* ident command, written by xsa@ but he is too busy with work right now;joris2005-10-061-2/+2
|
* support rlog command;joris2005-10-061-1/+2
|
* rcsclean now works;joris2005-10-061-4/+5
|
* show fpath when checking out files;joris2005-10-061-2/+2
|
* thanks to niallo's diff changes, we now can support rcsdiff;joris2005-10-061-2/+2
| | | | only basic stuff works, more coming;
* allow ci to run, niallo forgot this when he commited his ci code;joris2005-09-301-2/+2
|
* KNFjoris2005-09-301-2/+2
|
* ensure RCSDIR is in fact a directory before deciding to use it.niallo2005-09-301-2/+2
| | | | "go for it" joris@
* hrmz..better.xsa2005-09-291-3/+3
|