equal
deleted
inserted
replaced
69 lines.append(l) |
69 lines.append(l) |
70 max_noise -= 1 |
70 max_noise -= 1 |
71 else: |
71 else: |
72 self.raise_(repo.RepoError(_("no suitable response from remote hg"))) |
72 self.raise_(repo.RepoError(_("no suitable response from remote hg"))) |
73 |
73 |
74 self.capabilities = () |
74 self.capabilities = util.set() |
75 lines.reverse() |
75 lines.reverse() |
76 for l in lines: |
76 for l in lines: |
77 if l.startswith("capabilities:"): |
77 if l.startswith("capabilities:"): |
78 self.capabilities = l[:-1].split(":")[1].split() |
78 self.capabilities.update(l[:-1].split(":")[1].split()) |
79 break |
79 break |
80 |
80 |
81 def readerr(self): |
81 def readerr(self): |
82 while 1: |
82 while 1: |
83 size = util.fstat(self.pipee).st_size |
83 size = util.fstat(self.pipee).st_size |