Show More
@@ -215,8 +215,11 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 | ui.setconfig('ui', 'nontty', 'true', 'commandserver') |
|
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'): | |||
|
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, | |
222 | self.cout, self.cerr) |
|
225 | self.cout, self.cerr) |
General Comments 0
You need to be logged in to leave comments.
Login now