check-versions: remove hg hack

It was only needed for hg-git tests.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Felipe Contreras
2023-03-06 10:30:33 -06:00
parent 890080673b
commit 4496af4a5c
2 changed files with 0 additions and 28 deletions

View File

@@ -203,10 +203,6 @@ def add_component(id, url, **args)
end
hg_checkout_fix = lambda do |version|
if check_version(version, '5.7')
run_cmd %W[hg import -q --no-commit #{__dir__}/hg_revert_5.7.patch]
end
FileUtils.cp('hg', "#{$builddir}/bin/")
return if check_version(version, '4.3')

View File

@@ -1,24 +0,0 @@
diff --git a/hg b/hg
index 4ec2b6140b..a3e61ad39c 100755
--- a/hg
+++ b/hg
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/env python
#
# mercurial - scalable distributed SCM
#
diff --git a/mercurial/hg.py b/mercurial/hg.py
index 1a7a281e30..bf75f15ac1 100644
--- a/mercurial/hg.py
+++ b/mercurial/hg.py
@@ -1013,7 +1013,7 @@ def clone(
pass
if uprev is None:
try:
- if destrepo._activebookmark:
+ if False:
uprev = destrepo.lookup(destrepo._activebookmark)
update = destrepo._activebookmark
else: