Mercurial > public > mercurial-scm > hg
comparison mercurial/chgserver.py @ 30645:a3f335d1247c
chgserver: backout changeset dfb19aed409e (per discussion)
On Wed, 21 Dec 2016 15:39:05 +0000, Jun Wu wrote:
> Actually, patch 1 is unnecessary if we go with the "ui._runpager" approach.
> Maybe someone can drop it without adding too many markers.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 22 Dec 2016 01:09:45 +0900 |
parents | 2bb8c53be961 |
children | 10b17ed9b591 |
comparison
equal
deleted
inserted
replaced
30644:2bb8c53be961 | 30645:a3f335d1247c |
---|---|
325 ('cerr', 'ferr', 'wb'), | 325 ('cerr', 'ferr', 'wb'), |
326 ] | 326 ] |
327 | 327 |
328 class chgcmdserver(commandserver.server): | 328 class chgcmdserver(commandserver.server): |
329 def __init__(self, ui, repo, fin, fout, sock, hashstate, baseaddress): | 329 def __init__(self, ui, repo, fin, fout, sock, hashstate, baseaddress): |
330 self._csystem = channeledsystem(fin, fout, 'S') | |
331 super(chgcmdserver, self).__init__( | 330 super(chgcmdserver, self).__init__( |
332 _newchgui(ui, self._csystem), repo, fin, fout) | 331 _newchgui(ui, channeledsystem(fin, fout, 'S')), repo, fin, fout) |
333 self.clientsock = sock | 332 self.clientsock = sock |
334 self._oldios = [] # original (self.ch, ui.fp, fd) before "attachio" | 333 self._oldios = [] # original (self.ch, ui.fp, fd) before "attachio" |
335 self.hashstate = hashstate | 334 self.hashstate = hashstate |
336 self.baseaddress = baseaddress | 335 self.baseaddress = baseaddress |
337 if hashstate is not None: | 336 if hashstate is not None: |