Show More
@@ -215,7 +215,10 b' class server(object):' | |||||
215 | self.repo.invalidateall() |
|
215 | self.repo.invalidateall() | |
216 |
|
216 | |||
217 | for ui in uis: |
|
217 | for ui in uis: | |
218 | # any kind of interaction must use server channels |
|
218 | # any kind of interaction must use server channels, but chg may | |
|
219 | # replace channels by fully functional tty files. so nontty is | |||
|
220 | # enforced only if cin is a channel. | |||
|
221 | if not util.safehasattr(self.cin, 'fileno'): | |||
219 | ui.setconfig('ui', 'nontty', 'true', 'commandserver') |
|
222 | ui.setconfig('ui', 'nontty', 'true', 'commandserver') | |
220 |
|
223 | |||
221 | req = dispatch.request(args[:], copiedui, self.repo, self.cin, |
|
224 | req = dispatch.request(args[:], copiedui, self.repo, self.cin, |
General Comments 0
You need to be logged in to leave comments.
Login now