##// END OF EJS Templates
subrepo: fix includes support in .hgsub
Matt Mackall -
r10174:65b6dc44 default
parent child Browse files
Show More
@@ -16,12 +16,12 b' def state(ctx):'
16 p = config.config()
16 p = config.config()
17 def read(f, sections=None, remap=None):
17 def read(f, sections=None, remap=None):
18 if f in ctx:
18 if f in ctx:
19 try:
19 p.parse(f, ctx[f].data(), sections, remap, read)
20 p.parse(f, ctx[f].data(), sections, remap)
20 else:
21 except IOError, err:
21 raise util.Abort(_("subrepo spec file %s not found") % f)
22 if err.errno != errno.ENOENT:
22
23 raise
23 if '.hgsub' in ctx:
24 read('.hgsub')
24 read('.hgsub')
25
25
26 rev = {}
26 rev = {}
27 if '.hgsubstate' in ctx:
27 if '.hgsubstate' in ctx:
General Comments 0
You need to be logged in to leave comments. Login now