stablesortcache: update the variable tracking on-disk state after write
Since we updated the on disk content, we should update that value.
In practice the object will likely be discarded after the write, but there is
nothing wrong in being more correct.
--- a/hgext3rd/evolve/stablesort.py Thu Sep 13 19:22:39 2018 +0200
+++ b/hgext3rd/evolve/stablesort.py Thu Sep 13 19:22:03 2018 +0200
@@ -650,6 +650,7 @@
cachefile.write(indexdata)
cachefile.write(data)
cachefile.close()
+ self._ondiskkey = self._cachekey
except (IOError, OSError) as exc:
repo.ui.debug('stablesortcache: could not write update %s\n' % exc)