##// END OF EJS Templates
phabricator: fix loadhgrc() override broken by D8656...
Martin von Zweigbergk -
r46074:c7fe0dfb default
parent child Browse files
Show More
@@ -167,7 +167,7 b' colortable = {'
167
167
168
168
169 @eh.wrapfunction(localrepo, "loadhgrc")
169 @eh.wrapfunction(localrepo, "loadhgrc")
170 def _loadhgrc(orig, ui, wdirvfs, hgvfs, requirements, **opts):
170 def _loadhgrc(orig, ui, wdirvfs, hgvfs, requirements, *args, **opts):
171 """Load ``.arcconfig`` content into a ui instance on repository open.
171 """Load ``.arcconfig`` content into a ui instance on repository open.
172 """
172 """
173 result = False
173 result = False
@@ -202,7 +202,7 b' def _loadhgrc(orig, ui, wdirvfs, hgvfs, '
202 ui.applyconfig(cfg, source=wdirvfs.join(b".arcconfig"))
202 ui.applyconfig(cfg, source=wdirvfs.join(b".arcconfig"))
203
203
204 return (
204 return (
205 orig(ui, wdirvfs, hgvfs, requirements, **opts) or result
205 orig(ui, wdirvfs, hgvfs, requirements, *args, **opts) or result
206 ) # Load .hg/hgrc
206 ) # Load .hg/hgrc
207
207
208
208
General Comments 0
You need to be logged in to leave comments. Login now