diff -r c33427080671 -r 21b8ce4d3331 mercurial/subrepo.py --- a/mercurial/subrepo.py Fri May 06 12:09:20 2011 +0200 +++ b/mercurial/subrepo.py Fri May 06 09:54:06 2011 +0200 @@ -235,7 +235,7 @@ import hg as h hg = h - scmutil.path_auditor(ctx._repo.root)(path) + scmutil.pathauditor(ctx._repo.root)(path) state = ctx.substate.get(path, nullstate) if state[2] not in types: raise util.Abort(_('unknown subrepo type %s') % state[2])