[PATCH 4 of 4 V2 mergedriver] merge.applyupdates: switch to mergestate.clean()
Martin von Zweigbergk
martinvonz at google.com
Tue Nov 17 23:16:16 CST 2015
On Tue, Nov 17, 2015 at 5:15 PM Siddharth Agarwal <sid0 at fb.com> wrote:
> # HG changeset patch
> # User Siddharth Agarwal <sid0 at fb.com>
> # Date 1447808693 28800
> # Tue Nov 17 17:04:53 2015 -0800
> # Node ID c8d0ab3fe9ae5c18751349c296d9d454bdd051dd
> # Parent 0177a83b0a029bc9ea5d062611448b885a409dcb
> merge.applyupdates: switch to mergestate.clean()
>
Pushed to the clowncopter, thanks!
>
> See the previous patches for why we're doing this.
>
> diff --git a/mercurial/merge.py b/mercurial/merge.py
> --- a/mercurial/merge.py
> +++ b/mercurial/merge.py
> @@ -853,8 +853,7 @@ def applyupdates(repo, actions, wctx, mc
> """
>
> updated, merged, removed, unresolved = 0, 0, 0, 0
> - ms = mergestate(repo)
> - ms.reset(wctx.p1().node(), mctx.node())
> + ms = mergestate.clean(repo, wctx.p1().node(), mctx.node())
> moves = []
> for m, l in actions.items():
> l.sort()
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20151118/aa2be13c/attachment.html>
More information about the Mercurial-devel
mailing list