Re: Suggested new feature for ci
Keith Thompson <[email protected]> Mon, 8 Nov 2010 23:36:34 -0800
| Newsgroups | gmane.comp.version-control.rcs.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Mon 10-11-08 22:17, Paul Eggert wrote: > 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. Ooh, I like it. I was just about to suggest the "rcs log", "rcs ci" idea myself. (No, really I was.) But it hadn't occurred to me that that would also be an opportunity to modernize the option syntax. And the existing "rcs" command could be "rcs admin", by analogy to "cvs admin". -- Keith Thompson (The_Other_Keith) [email protected] <http://www.ghoti.net/~kst> Nokia "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"