comparison hgext/releasenotes.py @ 45503:08c6d6962b2a

mergestate: split up reset() for its two use cases We only have one place that calls `ms.reset()` with any arguments. That place is `mergestate.clean()`. The callers that call the function with no arguments seem to all just want delete the mergestate -- none of them look at the instance after calling `reset()`. Let's separate out the two different use cases to make the code clearer. I'll clean up further soon. Differential Revision: https://phab.mercurial-scm.org/D9033
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 16 Sep 2020 10:09:37 -0700
parents 4c1b4805db57
children 59fa3890d40a
comparison
equal deleted inserted replaced
45502:aad11a26a054 45503:08c6d6962b2a