revlog: document cext oddities in terms of object/caches
This clarify why we just call clearcaches on a single object.
--- 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}