mercurial/subrepo.py
changeset 8997 70f5d3be5917
parent 8908 105343f9f744
child 9048 86b4a9b0ddda
child 9186 f783bb979fb3
equal deleted inserted replaced
8996:23e941d7f507 8997:70f5d3be5917
   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