[PATCH evolve_ext V2] fold: take an explicit list of revisions (BC)
Greg Ward
greg at gerg.ca
Thu Jun 26 07:47:22 CDT 2014
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.
Greg
--
Greg Ward http://www.gerg.ca
<greg at gerg.ca> @gergdotca
More information about the Mercurial-devel
mailing list