mercurial/ui.py
changeset 1292 141951276ba1
parent 1147 d32b91ebad5d
child 1400 cf9a1233738a
equal deleted inserted replaced
1291:a942bf419a64 1292:141951276ba1
    12 class ui:
    12 class ui:
    13     def __init__(self, verbose=False, debug=False, quiet=False,
    13     def __init__(self, verbose=False, debug=False, quiet=False,
    14                  interactive=True):
    14                  interactive=True):
    15         self.overlay = {}
    15         self.overlay = {}
    16         self.cdata = ConfigParser.SafeConfigParser()
    16         self.cdata = ConfigParser.SafeConfigParser()
    17         self.cdata.read([os.path.normpath(hgrc) for hgrc in
    17         self.cdata.read(util.rcpath)
    18                          "/etc/mercurial/hgrc", os.path.expanduser("~/.hgrc")])
       
    19 
    18 
    20         self.quiet = self.configbool("ui", "quiet")
    19         self.quiet = self.configbool("ui", "quiet")
    21         self.verbose = self.configbool("ui", "verbose")
    20         self.verbose = self.configbool("ui", "verbose")
    22         self.debugflag = self.configbool("ui", "debug")
    21         self.debugflag = self.configbool("ui", "debug")
    23         self.interactive = self.configbool("ui", "interactive", True)
    22         self.interactive = self.configbool("ui", "interactive", True)