changeset 43:20fca307d9f0

more comment
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Thu, 08 Sep 2011 12:00:39 +0200
parents eb6a06d7eae3
children b243c10a5fbe
files obsolete.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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