equal
deleted
inserted
replaced
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 |