Alternative name for histedit

dukeofgaming dukeofgaming at gmail.com
Wed Oct 17 16:36:24 CDT 2012


Wouldn't it be more like a deprecation if "histedit" is just included as an
alias?; I wouldn't suggest something that changes anything but the name of
the command.

Another alternative to histedit could be "revise" or "alter", which
hopefully would have better semantics than "rewrite" and keep everything
the same.

Just proposing this in good spirit, not trying to be disruptive.

Regards,

David

On Wed, Oct 17, 2012 at 1:57 PM, Augie Fackler <raf at durin42.com> wrote:

>
> On Oct 17, 2012, at 1:37 PM, Kevin Bullock <
> kbullock+mercurial at ringworld.org> wrote:
>
> >>>>> Hi,
> >>>>>
> >>>>> I've started looking into the histedit extension and I think it is
> awesome,
> >>>>> but I feel the command name is a little awkward in comparison to all
> other
> >>>>> commands, which are a simple and to-the-point word of what is being
> done.
> >>>>>
> >>>>> I think "rewrite" could be a good fit (e.g. hg rewrite --outgoing)
> >>>>>
> >>>>> I know that I can just make an alias, but I felt like sharing this.
> >>>>>
> >>>>> Regards,
> >>>>>
> >>>>> David
> >>>>
> >>>>
> >>>> changing the name would allow to changes the semantic of some
> arguments
> >>>
> >>> ...but since we'd have to maintain the existing command name and
> semantics forever alongside the new, this sounds like a losing proposition.
> >>
> >> We can maintain the old command with old semantic. And add new and
> better
> >> semantic in renamed command.
> >
> > My point is that willingly taking on a maintenance burden like that is
> madness.
>
> I agree, and I'm not that thrilled with the idea of a new name anyway.
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20121017/ff21daf9/attachment.html>


More information about the Mercurial-devel mailing list