changeset 8210 | 344751cd8cb8 |
parent 8150 | bbc24c0753a0 |
child 8225 | 46293a0c7e9f |
--- a/mercurial/sshrepo.py Sun Apr 26 16:50:44 2009 -0500 +++ b/mercurial/sshrepo.py Sun Apr 26 16:50:44 2009 -0500 @@ -81,8 +81,7 @@ self.abort(error.RepoError(_("no suitable response from remote hg"))) self.capabilities = set() - lines.reverse() - for l in lines: + for l in reversed(lines): if l.startswith("capabilities:"): self.capabilities.update(l[:-1].split(":")[1].split()) break