Downgrade Mercurial wheel to 3.4.2 to restore hg push of Tool Shed repositories. Fix #1183.

This commit is contained in:
Nicola Soranzo
2015-12-01 16:45:19 +00:00
parent 84464288b1
commit ff619df394
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -3,7 +3,8 @@ bx-python==0.7.3
MarkupSafe==0.23
PyYAML==3.11
SQLAlchemy==1.0.8
mercurial==3.5
# Mercurial >= 3.5 changed the bundle format, which breaks hg push of TS repositories
mercurial==3.4.2
numpy==1.9.2
pycrypto==2.6.1
python_lzo==1.8
+1 -1
View File
@@ -44,7 +44,7 @@ def bundle_to_json( fh ):
command line) to a json object.
"""
# See http://www.wstein.org/home/wstein/www/home/was/patches/hg_json
hg_unbundle10_obj = readbundle( None, fh, None )
hg_unbundle10_obj = readbundle( get_configured_ui(), fh, None )
groups = [ group for group in unpack_groups( hg_unbundle10_obj ) ]
return json.dumps( groups, indent=4 )