Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commandserver.py @ 17425:e95ec38f86b0
fix wording and not-completely-trivial spelling errors and bad docstrings
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 15 Aug 2012 22:39:18 +0200 |
parents | e34106fa0dc3 |
children | 56ef99fbd6f2 |
comparison
equal
deleted
inserted
replaced
17424:e7cfe3587ea4 | 17425:e95ec38f86b0 |
---|---|
135 | 135 |
136 logpath = ui.config("cmdserver", "log", None) | 136 logpath = ui.config("cmdserver", "log", None) |
137 if logpath: | 137 if logpath: |
138 global logfile | 138 global logfile |
139 if logpath == '-': | 139 if logpath == '-': |
140 # write log on a special 'd'ebug channel | 140 # write log on a special 'd' (debug) channel |
141 logfile = channeledoutput(sys.stdout, sys.stdout, 'd') | 141 logfile = channeledoutput(sys.stdout, sys.stdout, 'd') |
142 else: | 142 else: |
143 logfile = open(logpath, 'a') | 143 logfile = open(logpath, 'a') |
144 | 144 |
145 # the ui here is really the repo ui so take its baseui so we don't end | 145 # the ui here is really the repo ui so take its baseui so we don't end |