mercurial/config.py
changeset 31155 8266802f0fa4
parent 31154 fd3f4bf9325e
child 31176 99c5843b228d
--- a/mercurial/config.py	Fri Mar 03 13:28:24 2017 -0500
+++ b/mercurial/config.py	Fri Mar 03 12:55:49 2017 -0500
@@ -170,4 +170,5 @@
     def read(self, path, fp=None, sections=None, remap=None):
         if not fp:
             fp = util.posixfile(path, 'rb')
-        self.parse(path, fp.read(), sections, remap, self.read)
+        self.parse(path, fp.read(),
+                   sections=sections, remap=remap, include=self.read)