mercurial/commandserver.py
changeset 25832 5857be01962e
parent 25660 328739ea70c3
child 26587 56b2bcea2529
equal deleted inserted replaced
25831:578fc97904da 25832:5857be01962e
   130     based stream to fout.
   130     based stream to fout.
   131     """
   131     """
   132     def __init__(self, ui, repo, fin, fout):
   132     def __init__(self, ui, repo, fin, fout):
   133         self.cwd = os.getcwd()
   133         self.cwd = os.getcwd()
   134 
   134 
       
   135         # developer config: cmdserver.log
   135         logpath = ui.config("cmdserver", "log", None)
   136         logpath = ui.config("cmdserver", "log", None)
   136         if logpath:
   137         if logpath:
   137             global logfile
   138             global logfile
   138             if logpath == '-':
   139             if logpath == '-':
   139                 # write log on a special 'd' (debug) channel
   140                 # write log on a special 'd' (debug) channel