equal
deleted
inserted
replaced
233 # scripts that don't use our demand-loading |
233 # scripts that don't use our demand-loading |
234 global hg |
234 global hg |
235 import hg as h |
235 import hg as h |
236 hg = h |
236 hg = h |
237 |
237 |
238 scmutil.path_auditor(ctx._repo.root)(path) |
238 scmutil.pathauditor(ctx._repo.root)(path) |
239 state = ctx.substate.get(path, nullstate) |
239 state = ctx.substate.get(path, nullstate) |
240 if state[2] not in types: |
240 if state[2] not in types: |
241 raise util.Abort(_('unknown subrepo type %s') % state[2]) |
241 raise util.Abort(_('unknown subrepo type %s') % state[2]) |
242 return types[state[2]](ctx, path, state[:2]) |
242 return types[state[2]](ctx, path, state[:2]) |
243 |
243 |