--- a/mercurial/dispatch.py Wed Oct 23 00:43:17 2024 +0200
+++ b/mercurial/dispatch.py Wed Oct 23 01:32:33 2024 +0200
@@ -954,7 +954,7 @@
else:
lui = ui.copy()
if rcutil.use_repo_hgrc():
- for c_type, rc_path in rcutil.repo_components(path):
+ for __, c_type, rc_path in rcutil.repo_components(path):
assert c_type == b'path'
lui.readconfig(rc_path, root=path)
@@ -966,7 +966,7 @@
path = path_obj.rawloc
lui = ui.copy()
if rcutil.use_repo_hgrc():
- for c_type, rc_path in rcutil.repo_components(path):
+ for __, c_type, rc_path in rcutil.repo_components(path):
assert c_type == b'path'
lui.readconfig(rc_path, root=path)