Mercurial > hg-stable
diff hgext/patchbomb.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 | 8cce9f77ca73 |
children | 89a2afe31e82 |