[PATCH] mercurial: fixes update --clean to work on new branch (issue5003)

timeless timeless at gmail.com
Thu Dec 31 11:36:27 CST 2015


On Thu, Dec 31, 2015 at 11:52 AM, Augie Fackler <raf at durin42.com> wrote:
> On Wed, Dec 30, 2015 at 08:55:38PM +0100, liscju wrote:
>> # HG changeset patch
>> # User liscju <piotr.listkiewicz at gmail.com>
>> # Date 1451505270 -3600
>> #      Wed Dec 30 20:54:30 2015 +0100
>> # Node ID a92bf43906f58c665c35bc745e6d83049a2e95c2
>> # Parent  23541bdd1610c08af247f9c8719045cf247ce541
>> mercurial: fixes update --clean to work on new branch (issue5003)
>
> I'm somewhat unconvinced. What's wrong with 'hg revert --all' in this case?
>
> (Other reviewers, please chime in - I'm not opposed to this, it just
> seems a little quirky to me, and has implications for topics and some
> other experimental work as well.)

So, I don't like aborts w/o suggestions for reasonably likely user input.
If we want to abort, that's fine, as long as it suggests `hg update
--clean .` and `hg revert --all` as alternatives.

A plain abort here is very unhelpful.


More information about the Mercurial-devel mailing list