[PATCH 0 of 2] Improve --detach option

Matt Mackall mpm at selenic.com
Tue Dec 27 17:14:39 CST 2011


On Tue, 2011-12-27 at 23:31 +0100, Laurens Holst wrote:
> Op 27-12-2011 21:19, Pierre-Yves David schreef:
> > This small series improve detach option.
> >
> > The more I use it, the more think it should have been the default. But it's
> > quite too late now to break backward compatibility.
> 
> Is it?

We can:

a) make errors that shouldn't be errors go away
b) make behaviors that are buggy into errors
c) change buggy behavior into working behavior
d) change the text associated with error messages

We can't:

e) significantly change a working behavior
f) turn working behavior into errors

In this case, I don't think we can change things as it would fall into
both categories (a) and (e). In other words, I think there are cases
where adding --detach changes the outcome of a working rebase, and that
means there may be people out there who expect and depend on the current
behavior.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list