Show More
@@ -38,17 +38,16 b' class sshrepository(remoterepository):' | |||||
38 |
|
38 | |||
39 | # skip any noise generated by remote shell |
|
39 | # skip any noise generated by remote shell | |
40 | r = self.do_cmd("between", pairs=("%s-%s" % ("0"*40, "0"*40))) |
|
40 | r = self.do_cmd("between", pairs=("%s-%s" % ("0"*40, "0"*40))) | |
41 |
l |
|
41 | lines = ["", "dummy"] | |
42 | l2 = "dummy" |
|
|||
43 | max_noise = 500 |
|
42 | max_noise = 500 | |
44 |
while l |
|
43 | while lines[-1] and max_noise: | |
45 |
l |
|
44 | l = r.readline() | |
46 | self.readerr() |
|
45 | self.readerr() | |
47 |
if l1 == "1\n" and l |
|
46 | if lines[-1] == "1\n" and l == "\n": | |
48 | break |
|
47 | break | |
49 |
if l |
|
48 | if l: | |
50 |
ui.debug(_("remote: "), l |
|
49 | ui.debug(_("remote: "), l) | |
51 |
l |
|
50 | lines.append(l) | |
52 | max_noise -= 1 |
|
51 | max_noise -= 1 | |
53 | else: |
|
52 | else: | |
54 | if l1: |
|
53 | if l1: |
General Comments 0
You need to be logged in to leave comments.
Login now