Show More
@@ -171,7 +171,10 b' class server(object):' | |||
|
171 | 171 | and writes the return code to the result channel """ |
|
172 | 172 | |
|
173 | 173 | length = struct.unpack('>I', self._read(4))[0] |
|
174 | args = self._read(length).split('\0') | |
|
174 | if not length: | |
|
175 | args = [] | |
|
176 | else: | |
|
177 | args = self._read(length).split('\0') | |
|
175 | 178 | |
|
176 | 179 | # copy the ui so changes to it don't persist between requests |
|
177 | 180 | req = dispatch.request(args, self.ui.copy(), self.repo, self.cin, |
General Comments 0
You need to be logged in to leave comments.
Login now