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

Piotr Listkiewicz piotr.listkiewicz at gmail.com
Fri Jan 15 10:41:58 UTC 2016


>From discussion i feel like either issue should be closed or issue
description in bug tracker should be updated to describe what would be
reasonable behaviour.

2015-12-31 20:48 GMT+01:00 Sean Farley <sean at farley.io>:

>
> Augie Fackler <raf at durin42.com> writes:
>
> > 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.)
>
> I'm inclined to think --clean should work on new branch since we have
> 'hg up -C' work on a bookmark without deactivating it.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20160115/8acad91f/attachment.html>


More information about the Mercurial-devel mailing list