hgext/remotenames.py
changeset 39762 25cc5616adc9
parent 38026 b9e6b71dc272
child 40060 fda1df3d4e06
--- a/hgext/remotenames.py	Wed Sep 19 17:09:01 2018 +0200
+++ b/hgext/remotenames.py	Sat Sep 15 11:50:07 2018 +0900
@@ -230,7 +230,7 @@
                     self._nodetohoists.setdefault(node[0], []).append(name)
         return self._nodetohoists
 
-def wrapprintbookmarks(orig, ui, repo, bmarks, **opts):
+def wrapprintbookmarks(orig, ui, repo, fm, bmarks):
     if 'remotebookmarks' not in repo.names:
         return
     ns = repo.names['remotebookmarks']
@@ -243,7 +243,7 @@
 
         bmarks[name] = (node, ' ', '')
 
-    return orig(ui, repo, bmarks, **opts)
+    return orig(ui, repo, fm, bmarks)
 
 def extsetup(ui):
     extensions.wrapfunction(bookmarks, '_printbookmarks', wrapprintbookmarks)