aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tortoisehg/files/patch-tortoisehg_util_hgversion.py
blob: 681cc076f024454147288a1efe87c3c944e4eb87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- tortoisehg/util/hgversion.py.orig	2022-11-13 03:06:49 UTC
+++ tortoisehg/util/hgversion.py
@@ -39,15 +39,7 @@ def checkhgversion(v: bytes) -> Optional[bytes]:
     return vers
 
 def checkhgversion(v: bytes) -> Optional[bytes]:
-    """range check the Mercurial version"""
-    reqvers = testedwith.split()
-    vers = _splitversion(v)
-    if not vers:
-        return
-    if b'.'.join(vers) in reqvers:
-        return
-    return (b'This version of TortoiseHg requires Mercurial version %s.n to '
-            b'%s.n, but found %s') % (reqvers[0], reqvers[-1], v)
+    return
 
 def checkminhgversion(v: bytes) -> Optional[bytes]:
     """Check if the given Mercurial version is not lower than the minimum