--- a/hgext/phabricator.py Fri Aug 07 17:42:15 2020 +0530
+++ b/hgext/phabricator.py Thu Jul 02 16:23:36 2020 +0530
@@ -167,7 +167,7 @@
@eh.wrapfunction(localrepo, "loadhgrc")
-def _loadhgrc(orig, ui, wdirvfs, hgvfs, requirements):
+def _loadhgrc(orig, ui, wdirvfs, hgvfs, requirements, **opts):
"""Load ``.arcconfig`` content into a ui instance on repository open.
"""
result = False
@@ -201,7 +201,9 @@
if cfg:
ui.applyconfig(cfg, source=wdirvfs.join(b".arcconfig"))
- return orig(ui, wdirvfs, hgvfs, requirements) or result # Load .hg/hgrc
+ return (
+ orig(ui, wdirvfs, hgvfs, requirements, **opts) or result
+ ) # Load .hg/hgrc
def vcrcommand(name, flags, spec, helpcategory=None, optionalrepo=False):