bug-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggested new feature for ci


From: Keith Thompson
Subject: Re: Suggested new feature for ci
Date: Mon, 8 Nov 2010 23:36:34 -0800
User-agent: Mutt/1.5.19 (2009-01-05)

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) address@hidden  <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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]