diff --git a/mercurial/subrepoutil.py b/mercurial/subrepoutil.py --- a/mercurial/subrepoutil.py +++ b/mercurial/subrepoutil.py @@ -36,7 +36,7 @@ p = config.config() repo = ctx.repo() - def read(rel, f, sections=None, remap=None): + def read(f, abs, sections=None, remap=None): if f in ctx: try: data = ctx[f].data()