comparison mercurial/sshrepo.py @ 2449:6ff30968f911

fix unused variable warning from pychecker
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 17 Jun 2006 18:15:48 +0200
parents 801dfe0aa53a
children 30c267cb4c2f
comparison
equal deleted inserted replaced
2442:c660691fb45d 2449:6ff30968f911
134 except: 134 except:
135 raise hg.RepoError(_("unexpected response '%s'") % (d[:400] + "...")) 135 raise hg.RepoError(_("unexpected response '%s'") % (d[:400] + "..."))
136 136
137 def changegroup(self, nodes, kind): 137 def changegroup(self, nodes, kind):
138 n = " ".join(map(hex, nodes)) 138 n = " ".join(map(hex, nodes))
139 f = self.do_cmd("changegroup", roots=n) 139 return self.do_cmd("changegroup", roots=n)
140 return self.pipei
141 140
142 def unbundle(self, cg, heads, source): 141 def unbundle(self, cg, heads, source):
143 d = self.call("unbundle", heads=' '.join(map(hex, heads))) 142 d = self.call("unbundle", heads=' '.join(map(hex, heads)))
144 if d: 143 if d:
145 raise hg.RepoError(_("push refused: %s") % d) 144 raise hg.RepoError(_("push refused: %s") % d)