mercurial/sshrepo.py
changeset 2449 6ff30968f911
parent 2441 801dfe0aa53a
child 2473 30c267cb4c2f
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)