def __rev_cache_sync(self, youngest_rev=None):

        with self.__rev_cache_lock:
            need_update = False
            if self.__rev_cache:
                last_youngest_rev = self.__rev_cache.youngest_rev
                if last_youngest_rev != youngest_rev:
                    self.logger.debug("invalidated caches (%s != %s)" % (last_youngest_rev, youngest_rev))
                    need_update = True
            else:
                need_update = True # almost NOOP

            if need_update:
                self.__rev_cache = None

            return need_update
Replace some of the human-readable keys from the raw HIT properties
dataset/ETHPy150Open hvr/trac-git-plugin/tracext/git/PyGIT.py/Storage.__rev_cache_sync--crossover with--dataset/ETHPy150Open jcjohnson/simple-amt/simpleamt.py/setup_qualifications