mercurial/ui.py
changeset 4481 1b5b98837bb5
parent 4267 b11a2fb59cf5
child 4517 5371a213b0f4
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -270,7 +270,7 @@ class ui(object):
             result = result.replace(",", " ").split()
         return result
 
-    def has_config(self, section, untrusted=False):
+    def has_section(self, section, untrusted=False):
         '''tell whether section exists in config.'''
         cdata = self._get_cdata(untrusted)
         return cdata.has_section(section)