Commits

Pierre-Yves David  committed 1e042ee

obsolete: remove unused repo method

  • Participants
  • Parent commits 97d82fb
  • Branches default

Comments (0)

Files changed (1)

File hgext/obsolete.py

     opush = repo.push
     o_updatebranchcache = repo.updatebranchcache
 
-    o_writejournal = repo._writejournal
     o_hook = repo.hook
 
 
                 args.pop('old')
             return o_hook(name, throw=False, **args)
 
-        ### Public method
-        # XXX Kill me
-        def obsoletedby(self, node):
-            """return the set of node that make <node> obsolete (obj)"""
-            others = set()
-            for marker in self.obsstore.precursors.get(node, []):
-                others.update(marker[1])
-            return others
-
-        # XXX Kill me
-        def obsolete(self, node):
-            """return the set of node that <node> make obsolete (sub)"""
-            return set(marker[0] for marker in self.obsstore.successors.get(node, []))
-
         # XXX move me on obssotre
         @util.propertycache
         def _obsoleteset(self):