[PATCH] backout: add --commit option

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Dec 17 19:40:22 CST 2014



On 12/17/2014 05:39 PM, Mateusz Kwapich wrote:
> # HG changeset patch
> # User Mateusz Kwapich <mitrandir at fb.com>
> # Date 1418865972 28800
> #      Wed Dec 17 17:26:12 2014 -0800
> # Node ID aa4f1fa1bab5dca4848eeaea36ca5485994fc4f2
> # Parent  495bc1b65d25872324a0220354f048b220304bd1
> backout: add --commit option
>
> Mercurial backout command makes a commmit by default only when the backed out
> revision is the parent of working directory and doesn't commit in any other
> case.
>
> The --commit option changes behaviour of backout to make a commit whenever
> possible (i.e. there is no unresolved conflicts). This behaviour seems more
> intuitive to many use (especially git users migrating to hg).

+1 I was looking for such flag a few hours ago.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list