Show More
@@ -143,6 +143,7 b' class server(object):' | |||
|
143 | 143 | logfile = open(logpath, 'a') |
|
144 | 144 | |
|
145 | 145 | self.repo = repo |
|
146 | self.repoui = repo.ui | |
|
146 | 147 | |
|
147 | 148 | if mode == 'pipe': |
|
148 | 149 | self.cerr = channeledoutput(sys.stderr, sys.stdout, 'e') |
@@ -176,7 +177,9 b' class server(object):' | |||
|
176 | 177 | else: |
|
177 | 178 | args = self._read(length).split('\0') |
|
178 | 179 | |
|
179 | # copy the ui so changes to it don't persist between requests | |
|
180 | # copy the uis so changes (e.g. --config or --verbose) don't | |
|
181 | # persist between requests | |
|
182 | self.repo.ui = self.repo.dirstate._ui = self.repoui.copy() | |
|
180 | 183 | req = dispatch.request(args, self.ui.copy(), self.repo, self.cin, |
|
181 | 184 | self.cout, self.cerr) |
|
182 | 185 |
General Comments 0
You need to be logged in to leave comments.
Login now