mercurial/revlog.py
changeset 41457 e2e815e3c4ae
parent 41310 ab0d762d89ef
child 41543 13a6dd952ffe
--- a/mercurial/revlog.py	Fri Jan 25 14:52:31 2019 -0500
+++ b/mercurial/revlog.py	Fri Jan 25 18:22:02 2019 -0500
@@ -607,6 +607,9 @@
         self._pcache = {}
 
         try:
+            # If we are using the native C version, you are in a fun case
+            # where self.index, self.nodemap and self._nodecaches is the same
+            # object.
             self._nodecache.clearcaches()
         except AttributeError:
             self._nodecache = {nullid: nullrev}