equal
deleted
inserted
replaced
120 global localrepo, hg |
120 global localrepo, hg |
121 import localrepo as l, hg as h |
121 import localrepo as l, hg as h |
122 localrepo = l |
122 localrepo = l |
123 hg = h |
123 hg = h |
124 |
124 |
|
125 util.path_auditor(ctx._repo.root)(path) |
125 state = ctx.substate.get(path, nullstate) |
126 state = ctx.substate.get(path, nullstate) |
126 if state[0].startswith('['): # future expansion |
127 if state[0].startswith('['): # future expansion |
127 raise error.Abort('unknown subrepo source %s' % state[0]) |
128 raise error.Abort('unknown subrepo source %s' % state[0]) |
128 return hgsubrepo(ctx, path, state) |
129 return hgsubrepo(ctx, path, state) |
129 |
130 |