Excerpts from Sean Farley's message of 2017-03-22 11:58:34 -0700:
> Let's take a step back for a minute. Technical discussions aside (and
> they are, indeed, very technical), is this a feature that we should be
> concentrating on *right now*?

Yes. Right now. For example, At Facebook we use "inhibit" to implement
"umamend" and has tons of code to support all kinds of corner cases. And it
still is not prefect.

This tens of lines will allow us to get rid of those hacky code (and
"inhibit" all together).

> I worry that evolve is already too complicated and we haven't done the
> first tasks of bringing bits of it into core. I've overheard from some
> Bitbucket co-workers (that prefer to not chime in)[1] that it's getting
> a bit out of hand with everyone implementing every single niche feature
> they want and no one seems to be around to herd these cats.

The fact that the evolve version of "unamend" or "unstrip (touch)" changing
commit hashes is "complicated" to explian to end-users. So although
the code is slightly more complicated, the end-user experience is much
better. I think it's worthy.

Besides, if you take "inhibit" into consideration, this approach not only
simplifies things *greatly*, it also handles the case much cleanly and with
much more confidence. If we count the removal lines in inhibit and all kinds
of code supporting it, I'm sure there will be much more deleted lines than
added. That is a decent clean-up. How could you define it as
"over-engineering" ?
 
If you had good points indicating that "inhibit" is a reasonable permanent
solution and provides a good user experience, then I'd be happy to drop the
series. If you do so, be prepared with questions about all kinds of corner
cases.

By the way, I'm not sure if you have noticed that "inhibit" was recently
moved to a directory called "hack/" in mutable-history.

> If this feature is really, really needed, then fine. My only purpose
> here is to ask the current leaders: in all honesty, how will we, as a
> community, avoid over-engineering Mercurial into JIRA?
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to