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