more comment
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 08 Sep 2011 12:00:39 +0200
changeset 43 20fca307d9f0
parent 42 eb6a06d7eae3
child 44 b243c10a5fbe
more comment
obsolete.py
--- 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