Show More
@@ -16,12 +16,12 b' def state(ctx):' | |||
|
16 | 16 | p = config.config() |
|
17 | 17 | def read(f, sections=None, remap=None): |
|
18 | 18 | if f in ctx: |
|
19 | try: | |
|
20 | p.parse(f, ctx[f].data(), sections, remap) | |
|
21 | except IOError, err: | |
|
22 | if err.errno != errno.ENOENT: | |
|
23 | raise | |
|
24 | read('.hgsub') | |
|
19 | p.parse(f, ctx[f].data(), sections, remap, read) | |
|
20 | else: | |
|
21 | raise util.Abort(_("subrepo spec file %s not found") % f) | |
|
22 | ||
|
23 | if '.hgsub' in ctx: | |
|
24 | read('.hgsub') | |
|
25 | 25 | |
|
26 | 26 | rev = {} |
|
27 | 27 | if '.hgsubstate' in ctx: |
General Comments 0
You need to be logged in to leave comments.
Login now