stablerange: change the key to use the revision number
Using node is more stable but for now do not have on disk caching and revision
number should be find in memory. This makes the data used for the file cache
closer to what it will be when we use tuple.
We might reintroduce node in the future but let us keep it simple for now.
--- a/hgext3rd/evolve/stablerange.py Wed Mar 22 06:05:44 2017 +0100
+++ b/hgext3rd/evolve/stablerange.py Wed Mar 22 17:33:41 2017 +0100
@@ -373,7 +373,7 @@
@util.propertycache
def stablekey(self):
- return (self.node, self.index)
+ return (self.head, self.index)
@util.propertycache
def node(self):