# HG changeset patch
# User Manuel Jacob <me@manueljacob.de>
# Date 1591989457 -7200
#      Fri Jun 12 21:17:37 2020 +0200
# Node ID 39a539c9b789600cbddb5f8fa4b4ad2a7aceff0a
# Parent  05f8b0b6f6ee57ed865e0ad73df761d382c4be87
tests: remove unused "gitbefore" check

This makes this file identical with upstream hg@07b79569fdf8 (last revision from
which we copied this file).

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -378,12 +378,6 @@
     return getgitversion() >= (int(major), int(minor))
 
 
-@checkvers("gitbefore",
-           "git client (with ext::sh support) version < %s", (2.24,))
-def has_git_less(v):
-    major, minor = v.split('.')[0:2]
-    return getgitversion() < (int(major), int(minor))
-
 @check("docutils", "Docutils text processing library")
 def has_docutils():
     try: