equal
deleted
inserted
replaced
823 resp = resp.getvalue() |
823 resp = resp.getvalue() |
824 req.httphdr("application/mercurial-0.1", length=len(resp)) |
824 req.httphdr("application/mercurial-0.1", length=len(resp)) |
825 req.write(resp) |
825 req.write(resp) |
826 |
826 |
827 def do_between(self, req): |
827 def do_between(self, req): |
828 nodes = [] |
|
829 if req.form.has_key('pairs'): |
828 if req.form.has_key('pairs'): |
830 pairs = [map(bin, p.split("-")) |
829 pairs = [map(bin, p.split("-")) |
831 for p in req.form['pairs'][0].split(" ")] |
830 for p in req.form['pairs'][0].split(" ")] |
832 resp = cStringIO.StringIO() |
831 resp = cStringIO.StringIO() |
833 for b in self.repo.between(pairs): |
832 for b in self.repo.between(pairs): |