--- a/obsolete.py Thu Sep 08 12:08:33 2011 +0200
+++ b/obsolete.py Thu Sep 08 12:00:39 2011 +0200
@@ -72,12 +72,15 @@
class obsoletingrepo(repo.__class__):
+
+ ### Hidden revision support
@util.propertycache
def hiddenrevs(self):
# It's a property because It simpler that to handle the __init__
revs = set()
return revs
+ ### obsolete storage
@util.propertycache
def _obsobjrels(self):
"""{<old-node> -> set(<new-node>)}
@@ -88,8 +91,6 @@
for sub, objs in self._obssubrels.iteritems():
for obj in objs:
objrels.setdefault(obj, set()).add(sub)
-
- #
return objrels
@util.propertycache