--- a/mercurial/httprepo.py Wed Oct 22 21:39:56 2008 +0200
+++ b/mercurial/httprepo.py Wed Oct 22 21:41:57 2008 +0200
@@ -380,7 +380,7 @@
raise util.UnexpectedOutput(_("unexpected response:"), d)
def between(self, pairs):
- n = "\n".join(["-".join(map(hex, p)) for p in pairs])
+ n = " ".join(["-".join(map(hex, p)) for p in pairs])
d = self.do_read("between", pairs=n)
try:
p = [ l and map(bin, l.split(" ")) or [] for l in d.splitlines() ]
--- a/mercurial/sshrepo.py Wed Oct 22 21:39:56 2008 +0200
+++ b/mercurial/sshrepo.py Wed Oct 22 21:41:57 2008 +0200
@@ -176,7 +176,7 @@
self.raise_(util.UnexpectedOutput(_("unexpected response:"), d))
def between(self, pairs):
- n = "\n".join(["-".join(map(hex, p)) for p in pairs])
+ n = " ".join(["-".join(map(hex, p)) for p in pairs])
d = self.call("between", pairs=n)
try:
p = [ l and map(bin, l.split(" ")) or [] for l in d.splitlines() ]