Mercurial > hg-stable
changeset 2046:d14497cbd668
Show remote ssh noise only with --debug and increase the limit to 500 lines.
Messages can already be sent to the user over stderr, if one really wants this.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 04 Apr 2006 15:21:20 +0200 |
parents | 5796edb127e6 |
children | ebf1ecb5f4e8 |
files | mercurial/sshrepo.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/sshrepo.py Mon Apr 03 22:47:18 2006 +0200 +++ b/mercurial/sshrepo.py Tue Apr 04 15:21:20 2006 +0200 @@ -40,19 +40,19 @@ r = self.do_cmd("between", pairs=("%s-%s" % ("0"*40, "0"*40))) l1 = "" l2 = "dummy" - max_noise = 100 + max_noise = 500 while l2 and max_noise: l2 = r.readline() self.readerr() if l1 == "1\n" and l2 == "\n": break if l1: - ui.status(_("remote: %s") % l1) + ui.debug(_("remote: "), l1) l1 = l2 max_noise -= 1 else: if l1: - ui.status(_("remote: %s") % l1) + ui.debug(_("remote: "), l1) raise hg.RepoError(_("no response from remote hg")) def readerr(self):