Mercurial > public > mercurial-scm > hg
diff mercurial/changegroup.py @ 14060:aaa9a5989405
bundle: more comments about the different header types, remove useless if
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sat, 30 Apr 2011 14:22:03 +0200 |
parents | d69c9510d648 |
children | bd1cbfe5db5c |
line wrap: on
line diff
--- a/mercurial/changegroup.py Sat Apr 30 15:30:51 2011 +0200 +++ b/mercurial/changegroup.py Sat Apr 30 14:22:03 2011 +0200 @@ -43,7 +43,9 @@ return "" bundletypes = { - "": ("", nocompress), + "": ("", nocompress), # only when using unbundle on ssh and old http servers + # since the unification ssh accepts a header but there + # is no capability signaling it. "HG10UN": ("HG10UN", nocompress), "HG10BZ": ("HG10", lambda: bz2.BZ2Compressor()), "HG10GZ": ("HG10GZ", lambda: zlib.compressobj()),