Syntax for "hg fold"

Greg Ward greg at gerg.ca
Tue Jun 3 17:17:08 UTC 2014


On 02 June 2014, Pierre-Yves David said:
> Currently: `hg fold X` and `hg fold --rev X` have different behavior
> (yes this is something we needs to improve)

Yes, that's what I am proposing. 'fold' should just take the list of
revisions you want to fold, and not do any funny business like
"revisions from your current working directory to the given one". It's
one of those things that feels obviously right when you right the
code, but actually makes things harder to explain. If it's hard to
explain, it's probably the wrong interface.

       Greg
-- 
Greg Ward                            http://www.gerg.ca
<greg at gerg.ca>                       @gergdotca



More information about the Evolve-testers mailing list