This is an archive of the discontinued Mercurial Phabricator instance.

merge: use merge.clean_update() when applicable
ClosedPublic

Authored by martinvonz on Sep 21 2020, 4:36 PM.

Details

Summary

We have had this higher-level function (higher than merge.update(),
that is) for a while. Let's simply some callers by using it. I don't
know why I didn't do this when I introduced the function.

After this patch, there are no remaining callers that call
hg.updaterepo() with overwrite=True. We'll clean that up soon.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.