# HG changeset patch # User Mads Kiilerich # Date 2021-04-21 13:34:02 # Node ID 01e123180339ec34c38fad44fbd378642777b456 # Parent dceaee61b164c0ce05b7381d919d56997e7a52eb hg: support Mercurial 5.8 Some 'remote:' messages changed to appear on stderr. diff --git a/kallithea/tests/other/test_vcs_operations.py b/kallithea/tests/other/test_vcs_operations.py --- a/kallithea/tests/other/test_vcs_operations.py +++ b/kallithea/tests/other/test_vcs_operations.py @@ -558,7 +558,7 @@ class TestVCSOperations(base.TestControl stdout, stderr = Command(base.TESTS_TMP_PATH) \ .execute(vt.repo_type, 'clone', clone_url, dest_dir, ignoreReturnCode=True) if vt.repo_type == 'hg': - assert 'preoutgoing.testhook hook failed' in stdout + assert 'preoutgoing.testhook hook failed' in stdout + stderr elif vt.repo_type == 'git': assert 'error: 406' in stderr diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -63,7 +63,7 @@ requirements = [ "URLObject >= 2.3.4, < 2.5", "Routes >= 2.0, < 2.5", "dulwich >= 0.19.0, < 0.20", - "mercurial >= 5.2, < 5.8", + "mercurial >= 5.2, < 5.9", "decorator >= 4.2.1, < 4.5", "Paste >= 2.0.3, < 3.5", "bleach >= 3.0, < 3.1.4",