Mercurial > evolve
changeset 2200:d5a216dce71c
stablerange: rename the class
This is much more than just a cache now.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 22 Mar 2017 21:11:35 +0100 |
parents | 7da7c8c9169d |
children | 8d371329e8b9 |
files | hgext3rd/evolve/stablerange.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/stablerange.py Thu Mar 23 09:40:04 2017 +0100 +++ b/hgext3rd/evolve/stablerange.py Wed Mar 22 21:11:35 2017 +0100 @@ -153,7 +153,7 @@ ranges.sort(key=lambda r: (-rangelength(repo, r), n(r[0]))) return ranges -class stablerangecache(object): +class stablerange(object): def __init__(self): self._depthcache = {} @@ -398,6 +398,6 @@ @localrepo.unfilteredpropertycache def stablerange(self): - return stablerangecache() + return stablerange() repo.__class__ = stablerangerepo