mirror of
				https://github.com/mnauw/git-remote-hg.git
				synced 2025-10-31 16:45:48 +01:00 
			
		
		
		
	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:
		| @@ -203,10 +203,6 @@ def add_component(id, url, **args) | |||||||
| end | end | ||||||
|  |  | ||||||
| hg_checkout_fix = lambda do |version| | 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/") |   FileUtils.cp('hg', "#{$builddir}/bin/") | ||||||
|  |  | ||||||
|   return if check_version(version, '4.3') |   return if check_version(version, '4.3') | ||||||
|   | |||||||
| @@ -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: |  | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user