mercurial/ui.py
changeset 12665 cf24b6b5517c
parent 12662 7285b2824fb7
child 12689 c52c629ce19e
equal deleted inserted replaced
12664:545ec1775021 12665:cf24b6b5517c
   109                     self.warn(_("(deprecated '%%' in path %s=%s from %s)\n")
   109                     self.warn(_("(deprecated '%%' in path %s=%s from %s)\n")
   110                               % (n, p, self.configsource('paths', n)))
   110                               % (n, p, self.configsource('paths', n)))
   111                     p = p.replace('%%', '%')
   111                     p = p.replace('%%', '%')
   112                 p = util.expandpath(p)
   112                 p = util.expandpath(p)
   113                 if '://' not in p and not os.path.isabs(p):
   113                 if '://' not in p and not os.path.isabs(p):
   114                         p = os.path.normpath(os.path.join(root, p))
   114                     p = os.path.normpath(os.path.join(root, p))
   115                 c.set("paths", n, p)
   115                 c.set("paths", n, p)
   116 
   116 
   117         # update ui options
   117         # update ui options
   118         self.debugflag = self.configbool('ui', 'debug')
   118         self.debugflag = self.configbool('ui', 'debug')
   119         self.verbose = self.debugflag or self.configbool('ui', 'verbose')
   119         self.verbose = self.debugflag or self.configbool('ui', 'verbose')