Mercurial > public > mercurial-scm > hg-stable
diff mercurial/httprepo.py @ 7207:fe0a4ed4634f
protocol/between: the protocol expects to have ' '-separated tuples
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 22 Oct 2008 21:41:57 +0200 |
parents | 9141bebefe3e |
children | 25c0dee16ee0 |
line wrap: on
line diff
--- 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() ]