[PATCH evolve_ext V2] fold: take an explicit list of revisions (BC)

Angel Ezquerra angel.ezquerra at gmail.com
Thu Jun 26 08:23:22 CDT 2014


El 26/06/2014 14:47, "Greg Ward" <greg at gerg.ca> escribió:
>
> On 24 June 2014, Augie Fackler said:
> > I agree with Greg here - the magic default of 'hg fold $REV' -> fold
> > together $REV::. feels a little spooky. This feels like the right case
> > for an alias to me.
>
> OR if it's as important a use case as Pierre-Yves claims, add an
> option. E.g. make
>
>   hg fold [-r] REV...
>
> (as implemented in my patch) the default. Then add
>
>   hg fold --from REV
>
> to restore the current (REV::.) behaviour.
>
> Hmmm. Time for a poll? Here are the options:
>
>   1) status quo: "hg fold REV" and "hg fold -r REV" are different
>
>   2) my proposal: "hg fold [-r] REV...", with --from option
>      to satisfy people who like the current "hg fold REV" semantics
>
>   3) Pierre-Yves' proposal: "hg fold [-r] REV" same as current
>      "hg fold REV", with "hg fold --only REV..." option to
>      satisfy people who like the current "hg fold -r REV..." semantics
>
> I'm pretty sure no one will vote for #1. Go ahead, surprise me!
>
> Sounds like Sean, Augie, and I are for #2.
>
> Clearly Pierre-Yves likes #3. Who else?
>
> Vote early, vote often.

I think I prefer #2.

Cheers,

Angel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140626/0823dc80/attachment.html>


More information about the Mercurial-devel mailing list