[PATCH 5 of 5 more-in-stack] readbundle: map 'HG10UN' to None compression
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Thu Sep 17 19:18:46 CDT 2015
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1442016416 25200
# Fri Sep 11 17:06:56 2015 -0700
# Node ID 53cbea54e9ed42f147b5d83dd7efeda3cb2fe2cb
# Parent c337ca94e665c36bdf3eb5053d061148cbf333b2
readbundle: map 'HG10UN' to None compression
In line with the other previous changes
diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py
--- a/mercurial/changegroup.py
+++ b/mercurial/changegroup.py
@@ -78,15 +78,15 @@ def combineresults(results):
elif changedheads < 0:
result = -1 + changedheads
return result
bundletypes = {
- "": ("", 'UN'), # only when using unbundle on ssh and old http servers
+ "": ("", 'None'), # only when using unbundle on ssh and old http servers
# since the unification ssh accepts a header but there
# is no capability signaling it.
"HG20": (), # special-cased below
- "HG10UN": ("HG10UN", 'UN'),
+ "HG10UN": ("HG10UN", None),
"HG10BZ": ("HG10", 'BZ'),
"HG10GZ": ("HG10GZ", 'GZ'),
}
# hgweb uses this list to communicate its preferred type
More information about the Mercurial-devel
mailing list