[PATCH V3] rebase: fail-fast the pull if working dir is not clean (BC)

Sean Farley sean at farley.io
Thu Jan 5 13:55:32 EST 2017


Valters Vingolds <valters at vingolds.ch> writes:

> # HG changeset patch
> # User Valters Vingolds <valters at vingolds.ch>
> # Date 1483272989 -3600
> #      Sun Jan 01 13:16:29 2017 +0100
> # Node ID e34ac9f0b311708613ae5d18b5791768a90e3582
> # Parent  0064a1eb28e246ded9b726c696d048143d1b23f1
> rebase: fail-fast the pull if working dir is not clean (BC)
>
> Refuse to run 'hg pull --rebase' if there are uncommitted changes:
> so that instead of going ahead with fetching changes and then suddenly aborting
> the rebase, we can warn user of uncommitted changes (or unclean repo state)
> right up front.

Looks fine to me.


More information about the Mercurial-devel mailing list