mercurial/config.py
changeset 11292 037d910734de
parent 11288 2123aad24d56
child 13031 3da456d0c885
equal deleted inserted replaced
11291:543597fae51d 11292:037d910734de
   101                 inc = os.path.normpath(os.path.join(base, inc))
   101                 inc = os.path.normpath(os.path.join(base, inc))
   102                 if include:
   102                 if include:
   103                     try:
   103                     try:
   104                         include(inc, remap=remap, sections=sections)
   104                         include(inc, remap=remap, sections=sections)
   105                     except IOError, inst:
   105                     except IOError, inst:
   106                         raise error.ParseError(
   106                         raise error.ParseError(_("cannot include %s (%s)")
   107                             _("cannot include %s (%s)")
   107                                                % (inc, inst.strerror),
   108                             % (inc, inst.strerror),
   108                                                "%s:%s" % (src, line))
   109                             msg, "%s:%s" % (src, line))
       
   110                 continue
   109                 continue
   111             if emptyre.match(l):
   110             if emptyre.match(l):
   112                 continue
   111                 continue
   113             m = sectionre.match(l)
   112             m = sectionre.match(l)
   114             if m:
   113             if m: