'hg fold' usability
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Tue Nov 26 01:43:13 CST 2013
Please keep evolution related discussion on mercurial-devel. The evolve
extension is not stable enough to be exposed to standard user.
On 11/20/2013 01:55 PM, anatoly techtonik wrote:
> I can see the value in keeping two variants:
> 1> hg fold rev
> 2> hg fold -r revset
>
> The most confusing part is:
>> hg fold rev1:rev2
> it doesn't complain, and works like:
>> hg fold -r rev1:.
> Why it is not possible to just do:
>> hg fold revset
> If revset is a single revision, fold up to current rev.
> If revset is a range revision, fold up the range only.
Because if the result of your revset is unexpectedly 1 rev, you will get
a very unexpected result.
something we could do is to warn and bail out if `hg fold <stuff>`
resolve to more than one revision.
--
Pierre-Yves
More information about the Mercurial-devel
mailing list