changeset 8870:01e123180339

hg: support Mercurial 5.8 Some 'remote:' messages changed to appear on stderr.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 21 Apr 2021 13:34:02 +0200
parents dceaee61b164
children 142936233154
files kallithea/tests/other/test_vcs_operations.py setup.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/tests/other/test_vcs_operations.py	Fri Apr 09 06:26:39 2021 -0400
+++ b/kallithea/tests/other/test_vcs_operations.py	Wed Apr 21 13:34:02 2021 +0200
@@ -558,7 +558,7 @@
         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
 
--- a/setup.py	Fri Apr 09 06:26:39 2021 -0400
+++ b/setup.py	Wed Apr 21 13:34:02 2021 +0200
@@ -63,7 +63,7 @@
     "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",