--- a/hgext/infinitepush/sqlindexapi.py Thu Mar 03 17:39:20 2022 -0800
+++ b/hgext/infinitepush/sqlindexapi.py Thu Mar 03 18:28:30 2022 -0800
@@ -13,8 +13,6 @@
import warnings
import mysql.connector
-from mercurial import pycompat
-
from . import indexapi
@@ -179,7 +177,7 @@
self.sqlconnect()
args = []
values = []
- for bookmark, node in pycompat.iteritems(bookmarks):
+ for bookmark, node in bookmarks.items():
args.append(b'(%s, %s, %s)')
values.extend((bookmark, node, self.reponame))
args = b','.join(args)