Hello.
Is the -sstate[:rev] option supported by OpenRCS's rcs(1) in OpenBSD 4.0?
Beware, this computer is not running -stable, just a fresh installation
of OpenBSD 4.0. This is a possible scenario for this error:
$ rcs -s"Rel" test.c
rcs: unknown option -s
usage: rcs [-eIiLqTUV] [-Aoldfile] [-ausers] [-b[rev]]
[-cstring] [-e[users]] [-kmode] [-l[rev]] [-mrev:msg]
[-orev] [-sstate[:rev]] [-tstr] [-u[rev]]
[-xsuffixes] file ...
It seems supported in the rcs(1)'s usage but it doesn't work. It works
in ci(1), however. The -sstate option is defined in CI_OPTSTRING,
CO_OPTSTRING and RLOG_OPTSTRING, but not in RCSPROG_OPTSTRING. It seems
that the "while ((ch = rcs_getopt()) != -1) {}" structure does not
provide support for this option, but it is announced in rcs_usage(void).
Revision 1.134 of rcsprog.c (latest on the repository) does not seem to
support the -sstate[:rev] option either.
By now, a possible workaround is using -sstate in ci(1) instead. Is it
a known problem? By the way, I really like this excellent RCS replacement,
I can hardly wait until OpenCVS is finally available on the base system.
Cheers,
Igor.