obslog: remove useless repo arg
authorBoris Feld <boris.feld@octobus.net>
Mon, 19 Jun 2017 15:54:55 +0200
changeset 2634 36743bbdae7f
parent 2633 59e85fbb31b6
child 2635 9ab35c37b85a
obslog: remove useless repo arg _debugobshistorydisplaymarker used to takes repo as an argument but it isn't needed anymore.
hgext3rd/evolve/obshistory.py
--- a/hgext3rd/evolve/obshistory.py	Mon Jun 19 15:32:25 2017 +0200
+++ b/hgext3rd/evolve/obshistory.py	Mon Jun 19 15:54:55 2017 +0200
@@ -95,7 +95,7 @@
 
             markerfm = fm.nested("debugobshistory.markers")
             for successor in sorted(succs):
-                _debugobshistorydisplaymarker(markerfm, self.repo, successor)
+                _debugobshistorydisplaymarker(markerfm, successor)
             markerfm.end()
 
             markerfm.plain('\n')
@@ -299,7 +299,7 @@
 
         markerfm = fm.nested("debugobshistory.markers")
         for successor in sorted(succs):
-            _debugobshistorydisplaymarker(markerfm, repo, successor)
+            _debugobshistorydisplaymarker(markerfm, successor)
         markerfm.end()
 
         precs = precursors.get(ctxnode, ())
@@ -338,7 +338,7 @@
              label="evolve.node evolve.missing_change_ctx")
     fm.plain('\n')
 
-def _debugobshistorydisplaymarker(fm, repo, marker):
+def _debugobshistorydisplaymarker(fm, marker):
     succnodes = marker[1]
     date = marker[4]
     metadata = dict(marker[3])