##// END OF EJS Templates
subrepo: audit subrepo paths
Matt Mackall -
r8997:70f5d3be default
parent child Browse files
Show More
@@ -122,6 +122,7 b' def subrepo(ctx, path):'
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])
General Comments 0
You need to be logged in to leave comments. Login now