[PATCH RFC] strip: add -C as alternative to --no-backup

Augie Fackler raf at durin42.com
Wed Feb 24 16:47:19 EST 2016


On Wed, Feb 24, 2016 at 12:06:21AM -0800, Sean Farley wrote:
>
> David Demelier <demelier.david at gmail.com> writes:
>
> > # HG changeset patch
> > # User David Demelier <demelier.david at gmail.com>
> > # Date 1456300657 -3600
> > #      Wed Feb 24 08:57:37 2016 +0100
> > # Node ID 0d235ba100ff229bdd012d15a6141599fae14835
> > # Parent  91a827e760df9d9b3d86692c5aa195a3d6ba2208
> > strip: add -C as alternative to --no-backup
> >
> > Various commands have -C as synonym of "clean" or "no-backup", add this to
> > strip.
> >
> > Examples:
> >
> > hg revert -C
> > hg update -C
>
> For what it's worth, I kinda like the direction of this short option.

I'm -0 on it. Strip is a bad, destructive thing, and I don't think we
should make it any easier to not have backups.

(-0: I won't block it, but if it were just up to me I'd reject this.)

> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list