Re: Suggested new feature for ci

Paul Eggert <[email protected]> Mon, 08 Nov 2010 22:17:38 -0800
Newsgroups gmane.comp.version-control.rcs.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
Here's a much simpler (but more sweeping) suggestion.

(1) Leave -m alone, for 'ci'.

(2) Add a new syntax that looks like this:

	rcs ci <options> <files>

(3) Use standard GNU getopt_long for the new options.
    In particular, the argument to -m should be required.

(4) That way, people can use "rcs ci -m '' file" to get the effect
    that you want.


Step (2) should be done for the other RCS commands, too,
for example "rcs log" instead of "rlog".

The advantage of this approach is that it makes rcs act
more like git, cvs, svn, etc., in syntax.

The historical syntax would still be supported, of course.
This new syntax is an upwards compatible extension.