comparison mercurial/sshrepo.py @ 16683:525fdb738975

cleanup: eradicate long lines
author Brodie Rao <brodie@sf.io>
date Sat, 12 May 2012 15:54:54 +0200
parents be43234a6d60
children cfb6682961b8
comparison
equal deleted inserted replaced
16676:654b9e1966f7 16683:525fdb738975
84 if l: 84 if l:
85 ui.debug("remote: ", l) 85 ui.debug("remote: ", l)
86 lines.append(l) 86 lines.append(l)
87 max_noise -= 1 87 max_noise -= 1
88 else: 88 else:
89 self._abort(error.RepoError(_("no suitable response from remote hg"))) 89 self._abort(error.RepoError(_('no suitable response from '
90 'remote hg')))
90 91
91 self.capabilities = set() 92 self.capabilities = set()
92 for l in reversed(lines): 93 for l in reversed(lines):
93 if l.startswith("capabilities:"): 94 if l.startswith("capabilities:"):
94 self.capabilities.update(l[:-1].split(":")[1].split()) 95 self.capabilities.update(l[:-1].split(":")[1].split())