mergestate: make in-memory mergestate not clear on-disk mergestate on reset()
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 17 Sep 2020 23:12:48 -0700
changeset 45500 f2efc44213ec
parent 45499 19590b126764
child 45501 0e75c088f0dc
mergestate: make in-memory mergestate not clear on-disk mergestate on reset() Oops, I thought I had remove the `rmtree()` call earlier. Maybe I accidentally got it back in a histedit or something. Differential Revision: https://phab.mercurial-scm.org/D9042
mercurial/mergestate.py
--- a/mercurial/mergestate.py	Tue Sep 15 16:10:16 2020 -0700
+++ b/mercurial/mergestate.py	Thu Sep 17 23:12:48 2020 -0700
@@ -193,7 +193,7 @@
         self._dirty = False
 
     def reset(self):
-        shutil.rmtree(self._repo.vfs.join(b'merge'), True)
+        pass
 
     def start(self, node, other, labels=None):
         self._local = node