# HG changeset patch # User Gregory Szorc # Date 1646325240 -3600 # Node ID 6000f5b25c9b134c05c87c72210b5f5f8460f014 # Parent af0b21d5a93099cdb4be665dfd2460423cc80308 py2: remove simple from __future__ statements These were needed for Python 2 support. Now that our linter no longer mandates these, we can start deleting them. Differential Revision: https://phab.mercurial-scm.org/D12254 diff -r af0b21d5a930 -r 6000f5b25c9b contrib/bdiff-torture.py --- a/contrib/bdiff-torture.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/bdiff-torture.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # Randomized torture test generation for bdiff -from __future__ import absolute_import, print_function import random import sys diff -r af0b21d5a930 -r 6000f5b25c9b contrib/benchmarks/__init__.py --- a/contrib/benchmarks/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/benchmarks/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -31,7 +31,6 @@ $ asv --config contrib/asv.conf.json preview ''' -from __future__ import absolute_import import functools import os diff -r af0b21d5a930 -r 6000f5b25c9b contrib/benchmarks/perf.py --- a/contrib/benchmarks/perf.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/benchmarks/perf.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from . import perfbench diff -r af0b21d5a930 -r 6000f5b25c9b contrib/benchmarks/revset.py --- a/contrib/benchmarks/revset.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/benchmarks/revset.py Thu Mar 03 17:34:00 2022 +0100 @@ -10,7 +10,6 @@ Each revset benchmark is parameterized with variants (first, last, sort, ...) ''' -from __future__ import absolute_import import os import string diff -r af0b21d5a930 -r 6000f5b25c9b contrib/byteify-strings.py --- a/contrib/byteify-strings.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/byteify-strings.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import argparse import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b contrib/casesmash.py --- a/contrib/casesmash.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/casesmash.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import import __builtin__ import os from mercurial import util diff -r af0b21d5a930 -r 6000f5b25c9b contrib/catapipe.py --- a/contrib/catapipe.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/catapipe.py Thu Mar 03 17:34:00 2022 +0100 @@ -34,7 +34,6 @@ HGCATAPULTSERVERPIPE environment variable, which both run-tests and hg understand. To trace *only* run-tests, use HGTESTCATAPULTSERVERPIPE instead. """ -from __future__ import absolute_import, print_function import argparse import json diff -r af0b21d5a930 -r 6000f5b25c9b contrib/check-code.py --- a/contrib/check-code.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/check-code.py Thu Mar 03 17:34:00 2022 +0100 @@ -19,7 +19,6 @@ * ONLY use no--check-code for skipping entire files from external sources """ -from __future__ import absolute_import, print_function import glob import keyword import optparse diff -r af0b21d5a930 -r 6000f5b25c9b contrib/check-commit --- a/contrib/check-commit Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/check-commit Thu Mar 03 17:34:00 2022 +0100 @@ -15,7 +15,6 @@ # # See also: https://mercurial-scm.org/wiki/ContributingChanges -from __future__ import absolute_import, print_function import os import re diff -r af0b21d5a930 -r 6000f5b25c9b contrib/check-config.py --- a/contrib/check-config.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/check-config.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import re import sys diff -r af0b21d5a930 -r 6000f5b25c9b contrib/check-py3-compat.py --- a/contrib/check-py3-compat.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/check-py3-compat.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import ast import importlib diff -r af0b21d5a930 -r 6000f5b25c9b contrib/debugcmdserver.py --- a/contrib/debugcmdserver.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/debugcmdserver.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # $ ./hg serve --cmds pipe | ./contrib/debugcmdserver.py - # o, 52 -> 'capabilities: getencoding runcommand\nencoding: UTF-8' -from __future__ import absolute_import, print_function import struct import sys diff -r af0b21d5a930 -r 6000f5b25c9b contrib/debugshell.py --- a/contrib/debugshell.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/debugshell.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,7 +1,6 @@ # debugshell extension """a python shell with repo, changelog & manifest objects""" -from __future__ import absolute_import import code import mercurial import sys diff -r af0b21d5a930 -r 6000f5b25c9b contrib/dumprevlog --- a/contrib/dumprevlog Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/dumprevlog Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ # Dump revlogs as raw data stream # $ find .hg/store/ -name "*.i" | xargs dumprevlog > repo.dump -from __future__ import absolute_import, print_function import sys from mercurial.node import hex diff -r af0b21d5a930 -r 6000f5b25c9b contrib/fuzz/dirs_corpus.py --- a/contrib/fuzz/dirs_corpus.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/fuzz/dirs_corpus.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import argparse import zipfile diff -r af0b21d5a930 -r 6000f5b25c9b contrib/fuzz/dirstate_corpus.py --- a/contrib/fuzz/dirstate_corpus.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/fuzz/dirstate_corpus.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import argparse import os import zipfile diff -r af0b21d5a930 -r 6000f5b25c9b contrib/fuzz/fm1readmarkers_corpus.py --- a/contrib/fuzz/fm1readmarkers_corpus.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/fuzz/fm1readmarkers_corpus.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import argparse import zipfile diff -r af0b21d5a930 -r 6000f5b25c9b contrib/fuzz/manifest_corpus.py --- a/contrib/fuzz/manifest_corpus.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/fuzz/manifest_corpus.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import argparse import zipfile diff -r af0b21d5a930 -r 6000f5b25c9b contrib/fuzz/mpatch_corpus.py --- a/contrib/fuzz/mpatch_corpus.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/fuzz/mpatch_corpus.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import argparse import os import struct diff -r af0b21d5a930 -r 6000f5b25c9b contrib/fuzz/revlog_corpus.py --- a/contrib/fuzz/revlog_corpus.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/fuzz/revlog_corpus.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import argparse import os import zipfile diff -r af0b21d5a930 -r 6000f5b25c9b contrib/genosxversion.py --- a/contrib/genosxversion.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/genosxversion.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ #!/usr/bin/env python2 -from __future__ import absolute_import, print_function import argparse import os diff -r af0b21d5a930 -r 6000f5b25c9b contrib/hg-ssh --- a/contrib/hg-ssh Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/hg-ssh Thu Mar 03 17:34:00 2022 +0100 @@ -28,7 +28,6 @@ You can also add a --read-only flag to allow read-only access to a key, e.g.: command="hg-ssh --read-only repos/*" """ -from __future__ import absolute_import import os import re diff -r af0b21d5a930 -r 6000f5b25c9b contrib/hgclient.py --- a/contrib/hgclient.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/hgclient.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # A minimal client for Mercurial's command server -from __future__ import absolute_import, print_function import io import os diff -r af0b21d5a930 -r 6000f5b25c9b contrib/import-checker.py --- a/contrib/import-checker.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/import-checker.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ #!/usr/bin/env python3 -from __future__ import absolute_import, print_function import ast import collections diff -r af0b21d5a930 -r 6000f5b25c9b contrib/memory.py --- a/contrib/memory.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/memory.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,8 +11,6 @@ prints it to ``stderr`` on exit. ''' -from __future__ import absolute_import - def memusage(ui): """Report memory usage of the current process.""" diff -r af0b21d5a930 -r 6000f5b25c9b contrib/perf-utils/perf-revlog-write-plot.py --- a/contrib/perf-utils/perf-revlog-write-plot.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/perf-utils/perf-revlog-write-plot.py Thu Mar 03 17:34:00 2022 +0100 @@ -9,7 +9,6 @@ # various plot related to write performance in a revlog # # usage: perf-revlog-write-plot.py details.json -from __future__ import absolute_import, print_function import json import re diff -r af0b21d5a930 -r 6000f5b25c9b contrib/perf-utils/search-discovery-case --- a/contrib/perf-utils/search-discovery-case Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/perf-utils/search-discovery-case Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This use a subsetmaker extension (next to this script) to generate a steam of # random discovery instance. When interesting case are discovered, information # about them are print on the stdout. -from __future__ import print_function import json import os diff -r af0b21d5a930 -r 6000f5b25c9b contrib/perf.py --- a/contrib/perf.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/perf.py Thu Mar 03 17:34:00 2022 +0100 @@ -54,7 +54,6 @@ # - make perf command for recent feature work correctly with early # Mercurial -from __future__ import absolute_import import contextlib import functools import gc diff -r af0b21d5a930 -r 6000f5b25c9b contrib/phab-clean.py --- a/contrib/phab-clean.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/phab-clean.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ # A small script to automatically reject idle Diffs # # you need to set the PHABBOT_USER and PHABBOT_TOKEN environment variable for authentication -from __future__ import absolute_import, print_function import datetime import os diff -r af0b21d5a930 -r 6000f5b25c9b contrib/python-hook-examples.py --- a/contrib/python-hook-examples.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/python-hook-examples.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,7 +1,6 @@ ''' Examples of useful python hooks for Mercurial. ''' -from __future__ import absolute_import from mercurial import ( patch, util, diff -r af0b21d5a930 -r 6000f5b25c9b contrib/python-zstandard/make_cffi.py --- a/contrib/python-zstandard/make_cffi.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/python-zstandard/make_cffi.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # This software may be modified and distributed under the terms # of the BSD license. See the LICENSE file for details. -from __future__ import absolute_import import cffi import distutils.ccompiler diff -r af0b21d5a930 -r 6000f5b25c9b contrib/python-zstandard/setup.py --- a/contrib/python-zstandard/setup.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/python-zstandard/setup.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be modified and distributed under the terms # of the BSD license. See the LICENSE file for details. -from __future__ import print_function from distutils.version import LooseVersion import os diff -r af0b21d5a930 -r 6000f5b25c9b contrib/python-zstandard/tests/test_module_attributes.py --- a/contrib/python-zstandard/tests/test_module_attributes.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/python-zstandard/tests/test_module_attributes.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import unicode_literals - import unittest import zstandard as zstd diff -r af0b21d5a930 -r 6000f5b25c9b contrib/python-zstandard/zstandard/__init__.py --- a/contrib/python-zstandard/zstandard/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/python-zstandard/zstandard/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ """Python interface to the Zstandard (zstd) compression library.""" -from __future__ import absolute_import, unicode_literals # This module serves 2 roles: # diff -r af0b21d5a930 -r 6000f5b25c9b contrib/python-zstandard/zstandard/cffi.py --- a/contrib/python-zstandard/zstandard/cffi.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/python-zstandard/zstandard/cffi.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ """Python interface to the Zstandard (zstd) compression library.""" -from __future__ import absolute_import, unicode_literals # This should match what the C extension exports. __all__ = [ diff -r af0b21d5a930 -r 6000f5b25c9b contrib/python3-ratchet.py --- a/contrib/python3-ratchet.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/python3-ratchet.py Thu Mar 03 17:34:00 2022 +0100 @@ -15,8 +15,6 @@ $ python3 ../contrib/python3-ratchet.py \ > --working-tests=../contrib/python3-whitelist """ -from __future__ import print_function -from __future__ import absolute_import import argparse import json diff -r af0b21d5a930 -r 6000f5b25c9b contrib/revsetbenchmarks.py --- a/contrib/revsetbenchmarks.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/revsetbenchmarks.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ # # call with --help for details -from __future__ import absolute_import, print_function import math import optparse # cannot use argparse, python 2.7 only import os diff -r af0b21d5a930 -r 6000f5b25c9b contrib/showstack.py --- a/contrib/showstack.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/showstack.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ r"""dump stack trace when receiving SIGQUIT (Ctrl-\) or SIGINFO (Ctrl-T on BSDs) """ -from __future__ import absolute_import, print_function import signal import sys import traceback diff -r af0b21d5a930 -r 6000f5b25c9b contrib/simplemerge --- a/contrib/simplemerge Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/simplemerge Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -from __future__ import absolute_import import getopt import sys diff -r af0b21d5a930 -r 6000f5b25c9b contrib/synthrepo.py --- a/contrib/synthrepo.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/synthrepo.py Thu Mar 03 17:34:00 2022 +0100 @@ -36,7 +36,6 @@ - Symlinks and binary files are ignored ''' -from __future__ import absolute_import import bisect import collections import itertools diff -r af0b21d5a930 -r 6000f5b25c9b contrib/testparseutil.py --- a/contrib/testparseutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/testparseutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import abc import re diff -r af0b21d5a930 -r 6000f5b25c9b contrib/undumprevlog --- a/contrib/undumprevlog Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/undumprevlog Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ # $ hg init # $ undumprevlog < repo.dump -from __future__ import absolute_import, print_function import sys from mercurial.node import bin diff -r af0b21d5a930 -r 6000f5b25c9b contrib/win32/hgwebdir_wsgi.py --- a/contrib/win32/hgwebdir_wsgi.py Sun Feb 20 15:18:15 2022 -0700 +++ b/contrib/win32/hgwebdir_wsgi.py Thu Mar 03 17:34:00 2022 +0100 @@ -78,7 +78,6 @@ # - Restart the web server and see if things are running. # -from __future__ import absolute_import # Configuration file location hgweb_config = r'c:\your\directory\wsgi.config' diff -r af0b21d5a930 -r 6000f5b25c9b doc/check-seclevel.py --- a/doc/check-seclevel.py Sun Feb 20 15:18:15 2022 -0700 +++ b/doc/check-seclevel.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ # # checkseclevel - checking section title levels in each online help document -from __future__ import absolute_import import optparse import os diff -r af0b21d5a930 -r 6000f5b25c9b doc/docchecker --- a/doc/docchecker Sun Feb 20 15:18:15 2022 -0700 +++ b/doc/docchecker Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import os import re diff -r af0b21d5a930 -r 6000f5b25c9b doc/gendoc.py --- a/doc/gendoc.py Sun Feb 20 15:18:15 2022 -0700 +++ b/doc/gendoc.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ where DOC is the name of a document """ -from __future__ import absolute_import import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b doc/hgmanpage.py --- a/doc/hgmanpage.py Sun Feb 20 15:18:15 2022 -0700 +++ b/doc/hgmanpage.py Thu Mar 03 17:34:00 2022 +0100 @@ -41,7 +41,6 @@ by the command whatis or apropos. """ -from __future__ import absolute_import __docformat__ = 'reStructuredText' diff -r af0b21d5a930 -r 6000f5b25c9b doc/runrst --- a/doc/runrst Sun Feb 20 15:18:15 2022 -0700 +++ b/doc/runrst Thu Mar 03 17:34:00 2022 +0100 @@ -12,7 +12,6 @@ where WRITER is the name of a Docutils writer such as 'html' or 'manpage' """ -from __future__ import absolute_import import sys diff -r af0b21d5a930 -r 6000f5b25c9b hg --- a/hg Sun Feb 20 15:18:15 2022 -0700 +++ b/hg Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b hgdemandimport/__init__.py --- a/hgdemandimport/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgdemandimport/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,7 +11,6 @@ # demand loading is per-package. Keeping demandimport in the mercurial package # would disable demand loading for any modules in mercurial. -from __future__ import absolute_import import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b hgdemandimport/demandimportpy2.py --- a/hgdemandimport/demandimportpy2.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgdemandimport/demandimportpy2.py Thu Mar 03 17:34:00 2022 +0100 @@ -24,7 +24,6 @@ b = __import__(a) ''' -from __future__ import absolute_import import __builtin__ as builtins import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b hgdemandimport/demandimportpy3.py --- a/hgdemandimport/demandimportpy3.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgdemandimport/demandimportpy3.py Thu Mar 03 17:34:00 2022 +0100 @@ -24,7 +24,6 @@ """ # This line is unnecessary, but it satisfies test-check-py3-compat.t. -from __future__ import absolute_import import contextlib import importlib.util diff -r af0b21d5a930 -r 6000f5b25c9b hgdemandimport/tracing.py --- a/hgdemandimport/tracing.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgdemandimport/tracing.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/__init__.py --- a/hgext/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import import pkgutil __path__ = pkgutil.extend_path(__path__, __name__) diff -r af0b21d5a930 -r 6000f5b25c9b hgext/absorb.py --- a/hgext/absorb.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/absorb.py Thu Mar 03 17:34:00 2022 +0100 @@ -31,7 +31,6 @@ # * Converge getdraftstack() with other code in core # * move many attributes on fixupstate to be private -from __future__ import absolute_import import collections diff -r af0b21d5a930 -r 6000f5b25c9b hgext/acl.py --- a/hgext/acl.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/acl.py Thu Mar 03 17:34:00 2022 +0100 @@ -213,7 +213,6 @@ ''' -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/amend.py --- a/hgext/amend.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/amend.py Thu Mar 03 17:34:00 2022 +0100 @@ -10,7 +10,6 @@ ``commit --amend`` but does not prompt an editor. """ -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/automv.py --- a/hgext/automv.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/automv.py Thu Mar 03 17:34:00 2022 +0100 @@ -24,7 +24,6 @@ # # See http://markmail.org/thread/5pxnljesvufvom57 for context. -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/beautifygraph.py --- a/hgext/beautifygraph.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/beautifygraph.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,7 +11,6 @@ A terminal with UTF-8 support and monospace narrow text are required. ''' -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/blackbox.py --- a/hgext/blackbox.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/blackbox.py Thu Mar 03 17:34:00 2022 +0100 @@ -42,7 +42,6 @@ """ -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/bookflow.py --- a/hgext/bookflow.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/bookflow.py Thu Mar 03 17:34:00 2022 +0100 @@ -13,7 +13,6 @@ :hg up|co NAME: switch to bookmark :hg push -B .: push active bookmark """ -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/bugzilla.py --- a/hgext/bugzilla.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/bugzilla.py Thu Mar 03 17:34:00 2022 +0100 @@ -291,7 +291,6 @@ Changeset commit comment. Bug 1234. ''' -from __future__ import absolute_import import json import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/censor.py --- a/hgext/censor.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/censor.py Thu Mar 03 17:34:00 2022 +0100 @@ -28,7 +28,6 @@ ignore censored data and merely report that it was encountered. """ -from __future__ import absolute_import from mercurial.i18n import _ from mercurial.node import short diff -r af0b21d5a930 -r 6000f5b25c9b hgext/children.py --- a/hgext/children.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/children.py Thu Mar 03 17:34:00 2022 +0100 @@ -14,7 +14,6 @@ "children(REV)"` instead. ''' -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/churn.py --- a/hgext/churn.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/churn.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ '''command to display statistics about repository history''' -from __future__ import absolute_import, division import datetime import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/clonebundles.py --- a/hgext/clonebundles.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/clonebundles.py Thu Mar 03 17:34:00 2022 +0100 @@ -202,7 +202,6 @@ Mercurial server when the bundle hosting service fails. """ -from __future__ import absolute_import from mercurial import ( bundlecaches, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/closehead.py --- a/hgext/closehead.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/closehead.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ '''close arbitrary heads without checking them out first''' -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/commitextras.py --- a/hgext/commitextras.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/commitextras.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ '''adds a new flag extras to commit (ADVANCED)''' -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/__init__.py --- a/hgext/convert/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ '''import revisions from foreign VCS repositories into Mercurial''' -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import registrar diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/bzr.py --- a/hgext/convert/bzr.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/bzr.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ # This module is for handling Breezy imports or `brz`, but it's also compatible # with Bazaar or `bzr`, that was formerly known as Bazaar-NG; # it cannot access `bar` repositories, but they were never used very much. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/common.py --- a/hgext/convert/common.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/common.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import base64 import datetime diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/convcmd.py --- a/hgext/convert/convcmd.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/convcmd.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/cvs.py --- a/hgext/convert/cvs.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/cvs.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/cvsps.py --- a/hgext/convert/cvsps.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/cvsps.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import functools import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/darcs.py --- a/hgext/convert/darcs.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/darcs.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/filemap.py --- a/hgext/convert/filemap.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/filemap.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import posixpath diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/git.py --- a/hgext/convert/git.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/git.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/gnuarch.py --- a/hgext/convert/gnuarch.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/gnuarch.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os import shutil diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/hg.py --- a/hgext/convert/hg.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/hg.py Thu Mar 03 17:34:00 2022 +0100 @@ -16,7 +16,6 @@ # identifier to be stored in the converted revision. This will cause # the converted revision to have a different identity than the # source. -from __future__ import absolute_import import os import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/monotone.py --- a/hgext/convert/monotone.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/monotone.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/p4.py --- a/hgext/convert/p4.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/p4.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import marshal import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/subversion.py --- a/hgext/convert/subversion.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/subversion.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,7 +1,6 @@ # Subversion 1.4/1.5 Python API backend # # Copyright(C) 2007 Daniel Holth et al -from __future__ import absolute_import import codecs import locale diff -r af0b21d5a930 -r 6000f5b25c9b hgext/convert/transport.py --- a/hgext/convert/transport.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/convert/transport.py Thu Mar 03 17:34:00 2022 +0100 @@ -16,7 +16,6 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . -from __future__ import absolute_import import svn.client import svn.core diff -r af0b21d5a930 -r 6000f5b25c9b hgext/eol.py --- a/hgext/eol.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/eol.py Thu Mar 03 17:34:00 2022 +0100 @@ -91,7 +91,6 @@ used. """ -from __future__ import absolute_import import os import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/extdiff.py --- a/hgext/extdiff.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/extdiff.py Thu Mar 03 17:34:00 2022 +0100 @@ -81,7 +81,6 @@ pretty fast (at least faster than having to compare the entire tree). ''' -from __future__ import absolute_import import os import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/factotum.py --- a/hgext/factotum.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/factotum.py Thu Mar 03 17:34:00 2022 +0100 @@ -45,7 +45,6 @@ ''' -from __future__ import absolute_import import os from mercurial.i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fastannotate/__init__.py --- a/hgext/fastannotate/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fastannotate/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -101,7 +101,6 @@ # # * format changes to the revmap file (maybe use length-encoding # instead of null-terminated file paths at least?) -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fastannotate/commands.py --- a/hgext/fastannotate/commands.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fastannotate/commands.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fastannotate/context.py --- a/hgext/fastannotate/context.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fastannotate/context.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fastannotate/error.py --- a/hgext/fastannotate/error.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fastannotate/error.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import class CorruptedFileError(Exception): diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fastannotate/formatter.py --- a/hgext/fastannotate/formatter.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fastannotate/formatter.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial.node import ( hex, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fastannotate/protocol.py --- a/hgext/fastannotate/protocol.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fastannotate/protocol.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fastannotate/revmap.py --- a/hgext/fastannotate/revmap.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fastannotate/revmap.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import bisect import io diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fastannotate/support.py --- a/hgext/fastannotate/support.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fastannotate/support.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial.pycompat import getattr from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fastexport.py --- a/hgext/fastexport.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fastexport.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # The format specification for fast-import streams can be found at # https://git-scm.com/docs/git-fast-import#_input_format -from __future__ import absolute_import import re from mercurial.i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fetch.py --- a/hgext/fetch.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fetch.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ '''pull, update and merge in one command (DEPRECATED)''' -from __future__ import absolute_import from mercurial.i18n import _ from mercurial.node import short diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fix.py --- a/hgext/fix.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fix.py Thu Mar 03 17:34:00 2022 +0100 @@ -122,7 +122,6 @@ file content back to stdout as documented above. """ -from __future__ import absolute_import import collections import itertools diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fsmonitor/__init__.py --- a/hgext/fsmonitor/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fsmonitor/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -107,7 +107,6 @@ # The issues related to nested repos and subrepos are probably not fundamental # ones. Patches to fix them are welcome. -from __future__ import absolute_import import codecs import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fsmonitor/pywatchman/__init__.py --- a/hgext/fsmonitor/pywatchman/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fsmonitor/pywatchman/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -27,7 +27,6 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # no unicode literals -from __future__ import absolute_import, division, print_function import inspect import math diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fsmonitor/pywatchman/capabilities.py --- a/hgext/fsmonitor/pywatchman/capabilities.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fsmonitor/pywatchman/capabilities.py Thu Mar 03 17:34:00 2022 +0100 @@ -27,7 +27,6 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # no unicode literals -from __future__ import absolute_import, division, print_function def parse_version(vstr): diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fsmonitor/pywatchman/compat.py --- a/hgext/fsmonitor/pywatchman/compat.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fsmonitor/pywatchman/compat.py Thu Mar 03 17:34:00 2022 +0100 @@ -27,7 +27,6 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # no unicode literals -from __future__ import absolute_import, division, print_function import sys diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fsmonitor/pywatchman/encoding.py --- a/hgext/fsmonitor/pywatchman/encoding.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fsmonitor/pywatchman/encoding.py Thu Mar 03 17:34:00 2022 +0100 @@ -27,7 +27,6 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # no unicode literals -from __future__ import absolute_import, division, print_function import sys diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fsmonitor/pywatchman/load.py --- a/hgext/fsmonitor/pywatchman/load.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fsmonitor/pywatchman/load.py Thu Mar 03 17:34:00 2022 +0100 @@ -27,7 +27,6 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # no unicode literals -from __future__ import absolute_import, division, print_function import ctypes diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fsmonitor/pywatchman/pybser.py --- a/hgext/fsmonitor/pywatchman/pybser.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fsmonitor/pywatchman/pybser.py Thu Mar 03 17:34:00 2022 +0100 @@ -27,7 +27,6 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # no unicode literals -from __future__ import absolute_import, division, print_function import binascii import collections diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fsmonitor/state.py --- a/hgext/fsmonitor/state.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fsmonitor/state.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/fsmonitor/watchmanclient.py --- a/hgext/fsmonitor/watchmanclient.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/fsmonitor/watchmanclient.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import getpass diff -r af0b21d5a930 -r 6000f5b25c9b hgext/git/__init__.py --- a/hgext/git/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/git/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ firstborn a la Rumpelstiltskin, etc. """ -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/git/dirstate.py --- a/hgext/git/dirstate.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/git/dirstate.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import contextlib import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/git/gitlog.py --- a/hgext/git/gitlog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/git/gitlog.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - from mercurial.i18n import _ from mercurial.node import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/git/gitutil.py --- a/hgext/git/gitutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/git/gitutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ """utilities to assist in working with pygit2""" -from __future__ import absolute_import from mercurial.node import bin, hex, sha1nodeconstants diff -r af0b21d5a930 -r 6000f5b25c9b hgext/git/index.py --- a/hgext/git/index.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/git/index.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import collections import os import sqlite3 diff -r af0b21d5a930 -r 6000f5b25c9b hgext/git/manifest.py --- a/hgext/git/manifest.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/git/manifest.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - from mercurial import ( match as matchmod, pathutil, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/githelp.py --- a/hgext/githelp.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/githelp.py Thu Mar 03 17:34:00 2022 +0100 @@ -15,7 +15,6 @@ produced. """ -from __future__ import absolute_import import getopt import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/gpg.py --- a/hgext/gpg.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/gpg.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ '''commands to sign and verify changesets''' -from __future__ import absolute_import import binascii import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/graphlog.py --- a/hgext/graphlog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/graphlog.py Thu Mar 03 17:34:00 2022 +0100 @@ -15,7 +15,6 @@ revision graph is also shown. ''' -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/hgk.py --- a/hgext/hgk.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/hgk.py Thu Mar 03 17:34:00 2022 +0100 @@ -34,7 +34,6 @@ vdiff on hovered and selected revisions. ''' -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/highlight/__init__.py --- a/hgext/highlight/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/highlight/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -26,7 +26,6 @@ match (even matches with a low confidence score) will be used. """ -from __future__ import absolute_import from . import highlight from mercurial.hgweb import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/highlight/highlight.py --- a/hgext/highlight/highlight.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/highlight/highlight.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ # The original module was split in an interface and an implementation # file to defer pygments loading and speedup extension setup. -from __future__ import absolute_import from mercurial import demandimport diff -r af0b21d5a930 -r 6000f5b25c9b hgext/histedit.py --- a/hgext/histedit.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/histedit.py Thu Mar 03 17:34:00 2022 +0100 @@ -190,7 +190,6 @@ """ -from __future__ import absolute_import # chistedit dependencies that are not available everywhere try: diff -r af0b21d5a930 -r 6000f5b25c9b hgext/hooklib/__init__.py --- a/hgext/hooklib/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/hooklib/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -13,7 +13,6 @@ extension as option. The functionality itself is planned to be supported long-term. """ -from __future__ import absolute_import from . import ( changeset_obsoleted, changeset_published, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/hooklib/changeset_obsoleted.py --- a/hgext/hooklib/changeset_obsoleted.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/hooklib/changeset_obsoleted.py Thu Mar 03 17:34:00 2022 +0100 @@ -17,7 +17,6 @@ python:hgext.hooklib.changeset_obsoleted.hook """ -from __future__ import absolute_import import email.errors as emailerrors import email.utils as emailutils diff -r af0b21d5a930 -r 6000f5b25c9b hgext/hooklib/changeset_published.py --- a/hgext/hooklib/changeset_published.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/hooklib/changeset_published.py Thu Mar 03 17:34:00 2022 +0100 @@ -17,7 +17,6 @@ python:hgext.hooklib.changeset_published.hook """ -from __future__ import absolute_import import email.errors as emailerrors import email.utils as emailutils diff -r af0b21d5a930 -r 6000f5b25c9b hgext/hooklib/enforce_draft_commits.py --- a/hgext/hooklib/enforce_draft_commits.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/hooklib/enforce_draft_commits.py Thu Mar 03 17:34:00 2022 +0100 @@ -14,7 +14,6 @@ python:hgext.hooklib.enforce_draft_commits.hook """ -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/hooklib/reject_merge_commits.py --- a/hgext/hooklib/reject_merge_commits.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/hooklib/reject_merge_commits.py Thu Mar 03 17:34:00 2022 +0100 @@ -14,7 +14,6 @@ python:hgext.hooklib.reject_merge_commits.hook """ -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/hooklib/reject_new_heads.py --- a/hgext/hooklib/reject_new_heads.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/hooklib/reject_new_heads.py Thu Mar 03 17:34:00 2022 +0100 @@ -14,7 +14,6 @@ python:hgext.hooklib.reject_new_heads.hook """ -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/infinitepush/__init__.py --- a/hgext/infinitepush/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/infinitepush/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -87,7 +87,6 @@ bookmarks = True """ -from __future__ import absolute_import import collections import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b hgext/infinitepush/bundleparts.py --- a/hgext/infinitepush/bundleparts.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/infinitepush/bundleparts.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial.i18n import _ from mercurial.node import hex diff -r af0b21d5a930 -r 6000f5b25c9b hgext/infinitepush/common.py --- a/hgext/infinitepush/common.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/infinitepush/common.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/infinitepush/fileindexapi.py --- a/hgext/infinitepush/fileindexapi.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/infinitepush/fileindexapi.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,7 +11,6 @@ indexpath = PATH """ -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/infinitepush/indexapi.py --- a/hgext/infinitepush/indexapi.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/infinitepush/indexapi.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,8 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import - class indexapi(object): """Class that manages access to infinitepush index. diff -r af0b21d5a930 -r 6000f5b25c9b hgext/infinitepush/sqlindexapi.py --- a/hgext/infinitepush/sqlindexapi.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/infinitepush/sqlindexapi.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import logging import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/infinitepush/store.py --- a/hgext/infinitepush/store.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/infinitepush/store.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ # based on bundleheads extension by Gregory Szorc -from __future__ import absolute_import import abc import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/journal.py --- a/hgext/journal.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/journal.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,7 +11,6 @@ """ -from __future__ import absolute_import import collections import errno diff -r af0b21d5a930 -r 6000f5b25c9b hgext/keyword.py --- a/hgext/keyword.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/keyword.py Thu Mar 03 17:34:00 2022 +0100 @@ -83,8 +83,6 @@ ''' -from __future__ import absolute_import - import os import re import weakref diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/__init__.py --- a/hgext/largefiles/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -104,7 +104,6 @@ explicitly do so with the --large flag passed to the :hg:`add` command. ''' -from __future__ import absolute_import from mercurial import ( cmdutil, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/basestore.py --- a/hgext/largefiles/basestore.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/basestore.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # GNU General Public License version 2 or any later version. '''base class for store implementations and store-related utility code''' -from __future__ import absolute_import from mercurial.i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/lfcommands.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # GNU General Public License version 2 or any later version. '''High-level command function for lfconvert, plus the cmdtable.''' -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/lfutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # GNU General Public License version 2 or any later version. '''largefiles utility code: must not import other modules in this package.''' -from __future__ import absolute_import import contextlib import copy diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/localstore.py --- a/hgext/largefiles/localstore.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/localstore.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # GNU General Public License version 2 or any later version. '''store class for local filesystem''' -from __future__ import absolute_import from mercurial.i18n import _ from mercurial.pycompat import open diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/overrides.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # GNU General Public License version 2 or any later version. '''Overridden Mercurial commands and functions for the largefiles extension''' -from __future__ import absolute_import import copy import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/proto.py --- a/hgext/largefiles/proto.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/proto.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/remotestore.py --- a/hgext/largefiles/remotestore.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/remotestore.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # GNU General Public License version 2 or any later version. '''remote largefile store; the base class for wirestore''' -from __future__ import absolute_import from mercurial.i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/reposetup.py --- a/hgext/largefiles/reposetup.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/reposetup.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # GNU General Public License version 2 or any later version. '''setup for largefiles repositories: reposetup''' -from __future__ import absolute_import import copy diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/storefactory.py --- a/hgext/largefiles/storefactory.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/storefactory.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,7 +1,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/largefiles/wirestore.py --- a/hgext/largefiles/wirestore.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/largefiles/wirestore.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # GNU General Public License version 2 or any later version. '''largefile store working over Mercurial's wire protocol''' -from __future__ import absolute_import from . import ( lfutil, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/lfs/__init__.py --- a/hgext/lfs/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/lfs/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -120,7 +120,6 @@ usercache = /path/to/global/cache """ -from __future__ import absolute_import import sys diff -r af0b21d5a930 -r 6000f5b25c9b hgext/lfs/blobstore.py --- a/hgext/lfs/blobstore.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/lfs/blobstore.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import errno diff -r af0b21d5a930 -r 6000f5b25c9b hgext/lfs/pointer.py --- a/hgext/lfs/pointer.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/lfs/pointer.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/lfs/wireprotolfsserver.py --- a/hgext/lfs/wireprotolfsserver.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/lfs/wireprotolfsserver.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import datetime import errno diff -r af0b21d5a930 -r 6000f5b25c9b hgext/lfs/wrapper.py --- a/hgext/lfs/wrapper.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/lfs/wrapper.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import hashlib diff -r af0b21d5a930 -r 6000f5b25c9b hgext/logtoprocess.py --- a/hgext/logtoprocess.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/logtoprocess.py Thu Mar 03 17:34:00 2022 +0100 @@ -32,7 +32,6 @@ """ -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/mq.py --- a/hgext/mq.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/mq.py Thu Mar 03 17:34:00 2022 +0100 @@ -62,7 +62,6 @@ in the strip extension. ''' -from __future__ import absolute_import, print_function import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/narrow/__init__.py --- a/hgext/narrow/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/narrow/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # GNU General Public License version 2 or any later version. '''create clones which fetch history data for subset of files (EXPERIMENTAL)''' -from __future__ import absolute_import from mercurial import ( localrepo, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/narrow/narrowbundle2.py --- a/hgext/narrow/narrowbundle2.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/narrow/narrowbundle2.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import struct diff -r af0b21d5a930 -r 6000f5b25c9b hgext/narrow/narrowcommands.py --- a/hgext/narrow/narrowcommands.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/narrow/narrowcommands.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import itertools import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/narrow/narrowdirstate.py --- a/hgext/narrow/narrowdirstate.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/narrow/narrowdirstate.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import error diff -r af0b21d5a930 -r 6000f5b25c9b hgext/narrow/narrowrepo.py --- a/hgext/narrow/narrowrepo.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/narrow/narrowrepo.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial import wireprototypes diff -r af0b21d5a930 -r 6000f5b25c9b hgext/narrow/narrowtemplates.py --- a/hgext/narrow/narrowtemplates.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/narrow/narrowtemplates.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial import ( registrar, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/narrow/narrowwirepeer.py --- a/hgext/narrow/narrowwirepeer.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/narrow/narrowwirepeer.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial import ( bundle2, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/notify.py --- a/hgext/notify.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/notify.py Thu Mar 03 17:34:00 2022 +0100 @@ -154,7 +154,6 @@ references. See also ``notify.strip``. ''' -from __future__ import absolute_import import email.errors as emailerrors import email.utils as emailutils diff -r af0b21d5a930 -r 6000f5b25c9b hgext/pager.py --- a/hgext/pager.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/pager.py Thu Mar 03 17:34:00 2022 +0100 @@ -21,7 +21,6 @@ [pager] attend-cat = false ''' -from __future__ import absolute_import from mercurial import ( cmdutil, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/patchbomb.py --- a/hgext/patchbomb.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/patchbomb.py Thu Mar 03 17:34:00 2022 +0100 @@ -71,7 +71,6 @@ You can set patchbomb to always ask for confirmation by setting ``patchbomb.confirm`` to true. ''' -from __future__ import absolute_import import email.encoders as emailencoders import email.mime.base as emimebase diff -r af0b21d5a930 -r 6000f5b25c9b hgext/phabricator.py --- a/hgext/phabricator.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/phabricator.py Thu Mar 03 17:34:00 2022 +0100 @@ -57,7 +57,6 @@ example.phabtoken = cli-xxxxxxxxxxxxxxxxxxxxxxxxxxxx """ -from __future__ import absolute_import import base64 import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b hgext/rebase.py --- a/hgext/rebase.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/rebase.py Thu Mar 03 17:34:00 2022 +0100 @@ -14,7 +14,6 @@ https://mercurial-scm.org/wiki/RebaseExtension ''' -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/record.py --- a/hgext/record.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/record.py Thu Mar 03 17:34:00 2022 +0100 @@ -10,7 +10,6 @@ The feature provided by this extension has been moved into core Mercurial as :hg:`commit --interactive`.''' -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/releasenotes.py --- a/hgext/releasenotes.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/releasenotes.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,7 +11,6 @@ process simpler by automating it. """ -from __future__ import absolute_import import difflib import errno diff -r af0b21d5a930 -r 6000f5b25c9b hgext/relink.py --- a/hgext/relink.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/relink.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # GNU General Public License version 2 or any later version. """recreates hardlinks between repository clones""" -from __future__ import absolute_import import os import stat diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/__init__.py --- a/hgext/remotefilelog/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -124,7 +124,6 @@ corruption before returning metadata """ -from __future__ import absolute_import import os import time diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/basepack.py --- a/hgext/remotefilelog/basepack.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/basepack.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import collections import errno import mmap diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/basestore.py --- a/hgext/remotefilelog/basestore.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/basestore.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import errno import os import shutil diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/connectionpool.py --- a/hgext/remotefilelog/connectionpool.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/connectionpool.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial import ( hg, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/constants.py --- a/hgext/remotefilelog/constants.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/constants.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import struct from mercurial.i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/contentstore.py --- a/hgext/remotefilelog/contentstore.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/contentstore.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import threading from mercurial.node import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/datapack.py --- a/hgext/remotefilelog/datapack.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/datapack.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import struct import zlib diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/debugcommands.py --- a/hgext/remotefilelog/debugcommands.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/debugcommands.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os import zlib diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/fileserverclient.py --- a/hgext/remotefilelog/fileserverclient.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/fileserverclient.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import io import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/historypack.py --- a/hgext/remotefilelog/historypack.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/historypack.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import struct from mercurial.node import ( diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/metadatastore.py --- a/hgext/remotefilelog/metadatastore.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/metadatastore.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - from mercurial.node import ( hex, sha1nodeconstants, diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/remotefilectx.py --- a/hgext/remotefilelog/remotefilectx.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/remotefilectx.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import time diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/remotefilelog.py --- a/hgext/remotefilelog/remotefilelog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/remotefilelog.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/remotefilelogserver.py --- a/hgext/remotefilelog/remotefilelogserver.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/remotefilelogserver.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/repack.py --- a/hgext/remotefilelog/repack.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/repack.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import os import time diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/shallowbundle.py --- a/hgext/remotefilelog/shallowbundle.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/shallowbundle.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial.i18n import _ from mercurial.node import bin, hex diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/shallowrepo.py --- a/hgext/remotefilelog/shallowrepo.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/shallowrepo.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/shallowstore.py --- a/hgext/remotefilelog/shallowstore.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/shallowstore.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import def wrapstore(store): diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/shallowutil.py --- a/hgext/remotefilelog/shallowutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/shallowutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import errno diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotefilelog/shallowverifier.py --- a/hgext/remotefilelog/shallowverifier.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotefilelog/shallowverifier.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import verify diff -r af0b21d5a930 -r 6000f5b25c9b hgext/remotenames.py --- a/hgext/remotenames.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/remotenames.py Thu Mar 03 17:34:00 2022 +0100 @@ -24,7 +24,6 @@ namespace (default: 'default') """ -from __future__ import absolute_import from mercurial.i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b hgext/schemes.py --- a/hgext/schemes.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/schemes.py Thu Mar 03 17:34:00 2022 +0100 @@ -39,7 +39,6 @@ You can override a predefined scheme by defining a new scheme with the same name. """ -from __future__ import absolute_import import os import re diff -r af0b21d5a930 -r 6000f5b25c9b hgext/share.py --- a/hgext/share.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/share.py Thu Mar 03 17:34:00 2022 +0100 @@ -65,7 +65,6 @@ and there are no untracked files, delete that share and create a new share. ''' -from __future__ import absolute_import import errno from mercurial.i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b hgext/show.py --- a/hgext/show.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/show.py Thu Mar 03 17:34:00 2022 +0100 @@ -25,7 +25,6 @@ performed. """ -from __future__ import absolute_import from mercurial.i18n import _ from mercurial.node import nullrev diff -r af0b21d5a930 -r 6000f5b25c9b hgext/sparse.py --- a/hgext/sparse.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/sparse.py Thu Mar 03 17:34:00 2022 +0100 @@ -71,7 +71,6 @@ tools/tests/** """ -from __future__ import absolute_import from mercurial.i18n import _ from mercurial.pycompat import setattr diff -r af0b21d5a930 -r 6000f5b25c9b hgext/split.py --- a/hgext/split.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/split.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # GNU General Public License version 2 or any later version. """command to split a changeset into smaller ones (EXPERIMENTAL)""" -from __future__ import absolute_import from mercurial.i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b hgext/sqlitestore.py --- a/hgext/sqlitestore.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/sqlitestore.py Thu Mar 03 17:34:00 2022 +0100 @@ -43,7 +43,6 @@ # --extra-config-opt extensions.sqlitestore= \ # --extra-config-opt storage.new-repo-backend=sqlite -from __future__ import absolute_import import sqlite3 import struct diff -r af0b21d5a930 -r 6000f5b25c9b hgext/strip.py --- a/hgext/strip.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/strip.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ This extension allows you to strip changesets and all their descendants from the repository. See the command help for details. """ -from __future__ import absolute_import from mercurial import commands diff -r af0b21d5a930 -r 6000f5b25c9b hgext/transplant.py --- a/hgext/transplant.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/transplant.py Thu Mar 03 17:34:00 2022 +0100 @@ -13,7 +13,6 @@ Transplanted patches are recorded in .hg/transplant/transplants, as a map from a changeset hash to its hash in the source repository. ''' -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b hgext/uncommit.py --- a/hgext/uncommit.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/uncommit.py Thu Mar 03 17:34:00 2022 +0100 @@ -17,7 +17,6 @@ added and removed in the working directory. """ -from __future__ import absolute_import from mercurial.i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b hgext/win32mbcs.py --- a/hgext/win32mbcs.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/win32mbcs.py Thu Mar 03 17:34:00 2022 +0100 @@ -44,7 +44,6 @@ It is useful for the users who want to commit with UTF-8 log message. ''' -from __future__ import absolute_import import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b hgext/win32text.py --- a/hgext/win32text.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/win32text.py Thu Mar 03 17:34:00 2022 +0100 @@ -41,7 +41,6 @@ # or pretxnchangegroup.cr = python:hgext.win32text.forbidcr ''' -from __future__ import absolute_import import re from mercurial.i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b hgext/zeroconf/Zeroconf.py --- a/hgext/zeroconf/Zeroconf.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/zeroconf/Zeroconf.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - """ Multicast DNS Service Discovery for Python, v0.12 Copyright (C) 2003, Paul Scott-Murphy diff -r af0b21d5a930 -r 6000f5b25c9b hgext/zeroconf/__init__.py --- a/hgext/zeroconf/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext/zeroconf/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -22,7 +22,6 @@ $ hg paths zc-test = http://example.com:8000/test ''' -from __future__ import absolute_import import os import socket diff -r af0b21d5a930 -r 6000f5b25c9b hgext3rd/__init__.py --- a/hgext3rd/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/hgext3rd/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ # name space package to host third party extensions -from __future__ import absolute_import import pkgutil __path__ = pkgutil.extend_path(__path__, __name__) diff -r af0b21d5a930 -r 6000f5b25c9b i18n/check-translation.py --- a/i18n/check-translation.py Sun Feb 20 15:18:15 2022 -0700 +++ b/i18n/check-translation.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # # check-translation.py - check Mercurial specific translation problems -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b i18n/hggettext --- a/i18n/hggettext Sun Feb 20 15:18:15 2022 -0700 +++ b/i18n/hggettext Thu Mar 03 17:34:00 2022 +0100 @@ -20,7 +20,6 @@ join the message cataloges to get the final catalog. """ -from __future__ import absolute_import, print_function import inspect import os diff -r af0b21d5a930 -r 6000f5b25c9b i18n/polib.py --- a/i18n/polib.py Sun Feb 20 15:18:15 2022 -0700 +++ b/i18n/polib.py Thu Mar 03 17:34:00 2022 +0100 @@ -13,7 +13,6 @@ :func:`~polib.mofile` convenience functions. """ -from __future__ import absolute_import __author__ = 'David Jean Louis ' __version__ = '1.0.7' diff -r af0b21d5a930 -r 6000f5b25c9b i18n/posplit --- a/i18n/posplit Sun Feb 20 15:18:15 2022 -0700 +++ b/i18n/posplit Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # license: MIT/X11/Expat # -from __future__ import absolute_import, print_function import polib import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/__init__.py --- a/mercurial/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import # Allow 'from mercurial import demandimport' to keep working. import hgdemandimport diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/ancestor.py --- a/mercurial/ancestor.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/ancestor.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import heapq diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/archival.py --- a/mercurial/archival.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/archival.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import gzip import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/bookmarks.py --- a/mercurial/bookmarks.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/bookmarks.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/branchmap.py --- a/mercurial/branchmap.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/branchmap.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/bundle2.py --- a/mercurial/bundle2.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/bundle2.py Thu Mar 03 17:34:00 2022 +0100 @@ -145,7 +145,6 @@ preserve. """ -from __future__ import absolute_import, division import collections import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/bundlerepo.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,7 +11,6 @@ were part of the actual repository. """ -from __future__ import absolute_import import os import shutil diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/cacheutil.py --- a/mercurial/cacheutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/cacheutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from . import repoview diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/cffi/bdiff.py --- a/mercurial/cffi/bdiff.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/cffi/bdiff.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/cffi/bdiffbuild.py --- a/mercurial/cffi/bdiffbuild.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/cffi/bdiffbuild.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import cffi import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/cffi/mpatch.py --- a/mercurial/cffi/mpatch.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/cffi/mpatch.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from ..pure.mpatch import * from ..pure.mpatch import mpatchError # silence pyflakes diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/cffi/mpatchbuild.py --- a/mercurial/cffi/mpatchbuild.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/cffi/mpatchbuild.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import cffi import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/cffi/osutil.py --- a/mercurial/cffi/osutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/cffi/osutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os import stat as statmod diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/cffi/osutilbuild.py --- a/mercurial/cffi/osutilbuild.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/cffi/osutilbuild.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import cffi ffi = cffi.FFI() diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/changegroup.py --- a/mercurial/changegroup.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/changegroup.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/changelog.py --- a/mercurial/changelog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/changelog.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ from .node import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/chgserver.py --- a/mercurial/chgserver.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/chgserver.py Thu Mar 03 17:34:00 2022 +0100 @@ -39,7 +39,6 @@ skiphash = False """ -from __future__ import absolute_import import inspect import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/cmdutil.py --- a/mercurial/cmdutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/cmdutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import copy as copymod import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/color.py --- a/mercurial/color.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/color.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/commands.py --- a/mercurial/commands.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/commands.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/commandserver.py --- a/mercurial/commandserver.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/commandserver.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import gc diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/commit.py --- a/mercurial/commit.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/commit.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/config.py --- a/mercurial/config.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/config.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/configitems.py --- a/mercurial/configitems.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/configitems.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import functools import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/context.py --- a/mercurial/context.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/context.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import filecmp diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/copies.py --- a/mercurial/copies.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/copies.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/crecord.py --- a/mercurial/crecord.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/crecord.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ # This code is based on the Mark Edgington's crecord extension. # (Itself based on Bryan O'Sullivan's record extension.) -from __future__ import absolute_import import os import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/dagop.py --- a/mercurial/dagop.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/dagop.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import heapq diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/dagparser.py --- a/mercurial/dagparser.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/dagparser.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re import string diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/debugcommands.py --- a/mercurial/debugcommands.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/debugcommands.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import binascii import codecs diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/destutil.py --- a/mercurial/destutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/destutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ from . import bookmarks, error, obsutil, scmutil, stack diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/diffhelper.py --- a/mercurial/diffhelper.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/diffhelper.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/diffutil.py --- a/mercurial/diffutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/diffutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/dirstate.py --- a/mercurial/dirstate.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/dirstate.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/dirstateguard.py --- a/mercurial/dirstateguard.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/dirstateguard.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os from .i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/dirstatemap.py --- a/mercurial/dirstatemap.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/dirstatemap.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/dirstateutils/docket.py --- a/mercurial/dirstateutils/docket.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/dirstateutils/docket.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/dirstateutils/timestamp.py --- a/mercurial/dirstateutils/timestamp.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/dirstateutils/timestamp.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import functools import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/dirstateutils/v2.py --- a/mercurial/dirstateutils/v2.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/dirstateutils/v2.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/discovery.py --- a/mercurial/discovery.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/discovery.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import functools diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/dispatch.py --- a/mercurial/dispatch.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/dispatch.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import errno import getopt diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/encoding.py --- a/mercurial/encoding.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/encoding.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import locale import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/error.py --- a/mercurial/error.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/error.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,7 +11,6 @@ imports. """ -from __future__ import absolute_import import difflib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/exchange.py --- a/mercurial/exchange.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/exchange.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import weakref diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/extensions.py --- a/mercurial/extensions.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/extensions.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import ast import collections diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/exthelper.py --- a/mercurial/exthelper.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/exthelper.py Thu Mar 03 17:34:00 2022 +0100 @@ -9,7 +9,6 @@ ### Extension helper ### ##################################################################### -from __future__ import absolute_import from . import ( commands, diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/fancyopts.py --- a/mercurial/fancyopts.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/fancyopts.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import abc import functools diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/filelog.py --- a/mercurial/filelog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/filelog.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ from .node import nullrev diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/filemerge.py --- a/mercurial/filemerge.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/filemerge.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/fileset.py --- a/mercurial/fileset.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/fileset.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/filesetlang.py --- a/mercurial/filesetlang.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/filesetlang.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ from .pycompat import getattr diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/formatter.py --- a/mercurial/formatter.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/formatter.py Thu Mar 03 17:34:00 2022 +0100 @@ -105,7 +105,6 @@ baz: foo, bar """ -from __future__ import absolute_import, print_function import contextlib import itertools diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/graphmod.py --- a/mercurial/graphmod.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/graphmod.py Thu Mar 03 17:34:00 2022 +0100 @@ -17,7 +17,6 @@ Data depends on type. """ -from __future__ import absolute_import from .node import nullrev from .thirdparty import attr diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/grep.py --- a/mercurial/grep.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/grep.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import difflib import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hbisect.py --- a/mercurial/hbisect.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hbisect.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/help.py --- a/mercurial/help.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/help.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import itertools import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hg.py --- a/mercurial/hg.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hg.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hgweb/__init__.py --- a/mercurial/hgweb/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hgweb/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hgweb/common.py --- a/mercurial/hgweb/common.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hgweb/common.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import base64 import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hgweb/hgweb_mod.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hgweb/hgwebdir_mod.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import gc import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hgweb/request.py --- a/mercurial/hgweb/request.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hgweb/request.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import # import wsgiref.validate diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hgweb/server.py --- a/mercurial/hgweb/server.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hgweb/server.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import importlib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hgweb/webcommands.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import copy import mimetypes diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hgweb/webutil.py --- a/mercurial/hgweb/webutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hgweb/webutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import copy import difflib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hgweb/wsgicgi.py --- a/mercurial/hgweb/wsgicgi.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hgweb/wsgicgi.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ # This was originally copied from the public domain code at # http://www.python.org/dev/peps/pep-0333/#the-server-gateway-side -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hgweb/wsgiheaders.py --- a/mercurial/hgweb/wsgiheaders.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hgweb/wsgiheaders.py Thu Mar 03 17:34:00 2022 +0100 @@ -9,7 +9,6 @@ # Regular expression that matches `special' characters in parameters, the # existence of which force quoting of the parameter value. -from __future__ import absolute_import, print_function import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/hook.py --- a/mercurial/hook.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/hook.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/httpconnection.py --- a/mercurial/httpconnection.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/httpconnection.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/httppeer.py --- a/mercurial/httppeer.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/httppeer.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import io diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/i18n.py --- a/mercurial/i18n.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/i18n.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import gettext as gettextmod import locale diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/interfaces/dirstate.py --- a/mercurial/interfaces/dirstate.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/interfaces/dirstate.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import contextlib from . import util as interfaceutil diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/interfaces/repository.py --- a/mercurial/interfaces/repository.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/interfaces/repository.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from ..i18n import _ from .. import error diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/interfaces/util.py --- a/mercurial/interfaces/util.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/interfaces/util.py Thu Mar 03 17:34:00 2022 +0100 @@ -9,7 +9,6 @@ # bookkeeping for declaring interfaces. So, we use stubs for various # zope.interface primitives unless instructed otherwise. -from __future__ import absolute_import from .. import encoding diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/keepalive.py --- a/mercurial/keepalive.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/keepalive.py Thu Mar 03 17:34:00 2022 +0100 @@ -82,7 +82,6 @@ # $Id: keepalive.py,v 1.14 2006/04/04 21:00:32 mstenner Exp $ -from __future__ import absolute_import, print_function import collections import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/linelog.py --- a/mercurial/linelog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/linelog.py Thu Mar 03 17:34:00 2022 +0100 @@ -18,7 +18,6 @@ deletion is performed on the file, a jump instruction is used to patch in a new body of annotate information. """ -from __future__ import absolute_import, print_function import abc import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/localrepo.py --- a/mercurial/localrepo.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/localrepo.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import functools diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/lock.py --- a/mercurial/lock.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/lock.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/logcmdutil.py --- a/mercurial/logcmdutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/logcmdutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import itertools import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/logexchange.py --- a/mercurial/logexchange.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/logexchange.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .node import hex diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/loggingutil.py --- a/mercurial/loggingutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/loggingutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/lsprof.py --- a/mercurial/lsprof.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/lsprof.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import _lsprof import sys diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/lsprofcalltree.py --- a/mercurial/lsprofcalltree.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/lsprofcalltree.py Thu Mar 03 17:34:00 2022 +0100 @@ -10,7 +10,6 @@ of the GNU General Public License, incorporated herein by reference. """ -from __future__ import absolute_import from . import pycompat diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/mail.py --- a/mercurial/mail.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/mail.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import email import email.charset diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/manifest.py --- a/mercurial/manifest.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/manifest.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import heapq import itertools diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/match.py --- a/mercurial/match.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/match.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import bisect import copy diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/mdiff.py --- a/mercurial/mdiff.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/mdiff.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/merge.py --- a/mercurial/merge.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/merge.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/mergestate.py --- a/mercurial/mergestate.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/mergestate.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import collections import errno import shutil diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/mergeutil.py --- a/mercurial/mergeutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/mergeutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/metadata.py --- a/mercurial/metadata.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/metadata.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import multiprocessing import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/minifileset.py --- a/mercurial/minifileset.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/minifileset.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ from . import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/minirst.py --- a/mercurial/minirst.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/minirst.py Thu Mar 03 17:34:00 2022 +0100 @@ -18,7 +18,6 @@ when adding support for new constructs. """ -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/namespaces.py --- a/mercurial/namespaces.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/namespaces.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - from .i18n import _ from . import ( pycompat, diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/narrowspec.py --- a/mercurial/narrowspec.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/narrowspec.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ from .pycompat import getattr diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/node.py --- a/mercurial/node.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/node.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import binascii diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/obsolete.py --- a/mercurial/obsolete.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/obsolete.py Thu Mar 03 17:34:00 2022 +0100 @@ -67,7 +67,6 @@ comment associated with each format for details. """ -from __future__ import absolute_import import errno import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/obsutil.py --- a/mercurial/obsutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/obsutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/parser.py --- a/mercurial/parser.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/parser.py Thu Mar 03 17:34:00 2022 +0100 @@ -16,7 +16,6 @@ # an action is a tree node name, a tree label, and an optional match # __call__(program) parses program into a labeled tree -from __future__ import absolute_import, print_function from .i18n import _ from . import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/patch.py --- a/mercurial/patch.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/patch.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import collections import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/pathutil.py --- a/mercurial/pathutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/pathutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import contextlib import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/phases.py --- a/mercurial/phases.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/phases.py Thu Mar 03 17:34:00 2022 +0100 @@ -100,7 +100,6 @@ """ -from __future__ import absolute_import import errno import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/policy.py --- a/mercurial/policy.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/policy.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/posix.py --- a/mercurial/posix.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/posix.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import fcntl diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/profiling.py --- a/mercurial/profiling.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/profiling.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/progress.py --- a/mercurial/progress.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/progress.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import threading diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/pure/base85.py --- a/mercurial/pure/base85.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/pure/base85.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/pure/bdiff.py --- a/mercurial/pure/bdiff.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/pure/bdiff.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import difflib import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/pure/charencode.py --- a/mercurial/pure/charencode.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/pure/charencode.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import array diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/pure/mpatch.py --- a/mercurial/pure/mpatch.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/pure/mpatch.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import io import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/pure/osutil.py --- a/mercurial/pure/osutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/pure/osutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, division import ctypes import ctypes.util diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/pure/parsers.py --- a/mercurial/pure/parsers.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/pure/parsers.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import io import stat diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/pushkey.py --- a/mercurial/pushkey.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/pushkey.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from . import ( bookmarks, diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/pvec.py --- a/mercurial/pvec.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/pvec.py Thu Mar 03 17:34:00 2022 +0100 @@ -48,7 +48,6 @@ different branches ''' -from __future__ import absolute_import from .node import nullrev from . import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/pycompat.py --- a/mercurial/pycompat.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/pycompat.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ This contains aliases to hide python version-specific details from the core. """ -from __future__ import absolute_import import builtins import codecs diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/rcutil.py --- a/mercurial/rcutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/rcutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/registrar.py --- a/mercurial/registrar.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/registrar.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from . import ( configitems, diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/repair.py --- a/mercurial/repair.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/repair.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/repocache.py --- a/mercurial/repocache.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/repocache.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import gc diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/repoview.py --- a/mercurial/repoview.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/repoview.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import copy import weakref diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/requirements.py --- a/mercurial/requirements.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/requirements.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import # obsolete experimental requirements: # - manifestv2: An experimental new manifest format that allowed diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revlog.py --- a/mercurial/revlog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revlog.py Thu Mar 03 17:34:00 2022 +0100 @@ -12,7 +12,6 @@ and O(changes) merge between branches. """ -from __future__ import absolute_import import binascii import collections diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revlogutils/__init__.py --- a/mercurial/revlogutils/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revlogutils/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from ..thirdparty import attr from ..interfaces import repository diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revlogutils/constants.py --- a/mercurial/revlogutils/constants.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revlogutils/constants.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # GNU General Public License version 2 or any later version. """Helper class to compute deltas stored inside revlogs""" -from __future__ import absolute_import import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revlogutils/deltas.py --- a/mercurial/revlogutils/deltas.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revlogutils/deltas.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # GNU General Public License version 2 or any later version. """Helper class to compute deltas stored inside revlogs""" -from __future__ import absolute_import import collections import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revlogutils/docket.py --- a/mercurial/revlogutils/docket.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revlogutils/docket.py Thu Mar 03 17:34:00 2022 +0100 @@ -15,7 +15,6 @@ # # * a data file, containing variable width data for these revisions, -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revlogutils/flagutil.py --- a/mercurial/revlogutils/flagutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revlogutils/flagutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from ..i18n import _ diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revlogutils/nodemap.py --- a/mercurial/revlogutils/nodemap.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revlogutils/nodemap.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revlogutils/revlogv0.py --- a/mercurial/revlogutils/revlogv0.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revlogutils/revlogv0.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from ..node import sha1nodeconstants diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revlogutils/sidedata.py --- a/mercurial/revlogutils/sidedata.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revlogutils/sidedata.py Thu Mar 03 17:34:00 2022 +0100 @@ -30,7 +30,6 @@ the concept. """ -from __future__ import absolute_import import collections import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revset.py --- a/mercurial/revset.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revset.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/revsetlang.py --- a/mercurial/revsetlang.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/revsetlang.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import string diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/rewriteutil.py --- a/mercurial/rewriteutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/rewriteutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/scmposix.py --- a/mercurial/scmposix.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/scmposix.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import array import errno import fcntl diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/scmutil.py --- a/mercurial/scmutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/scmutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import glob diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/scmwindows.py --- a/mercurial/scmwindows.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/scmwindows.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import os from . import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/server.py --- a/mercurial/server.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/server.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/setdiscovery.py --- a/mercurial/setdiscovery.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/setdiscovery.py Thu Mar 03 17:34:00 2022 +0100 @@ -40,7 +40,6 @@ classified with it (since all ancestors or descendants will be marked as well). """ -from __future__ import absolute_import import collections import random diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/shelve.py --- a/mercurial/shelve.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/shelve.py Thu Mar 03 17:34:00 2022 +0100 @@ -20,7 +20,6 @@ shelved change has a distinct name. For details, see the help for "hg shelve". """ -from __future__ import absolute_import import collections import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/similar.py --- a/mercurial/similar.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/similar.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ from . import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/simplemerge.py --- a/mercurial/simplemerge.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/simplemerge.py Thu Mar 03 17:34:00 2022 +0100 @@ -16,7 +16,6 @@ # mbp: "you know that thing where cvs gives you conflict markers?" # s: "i hate that." -from __future__ import absolute_import from .i18n import _ from . import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/smartset.py --- a/mercurial/smartset.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/smartset.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .pycompat import getattr from . import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/sparse.py --- a/mercurial/sparse.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/sparse.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/sshpeer.py --- a/mercurial/sshpeer.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/sshpeer.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re import uuid diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/sslutil.py --- a/mercurial/sslutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/sslutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import hashlib import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/stack.py --- a/mercurial/stack.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/stack.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,8 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import - def getstack(repo, rev=None): """return a sorted smartrev of the stack containing either rev if it is diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/state.py --- a/mercurial/state.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/state.py Thu Mar 03 17:34:00 2022 +0100 @@ -17,7 +17,6 @@ the data. """ -from __future__ import absolute_import import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/statichttprepo.py --- a/mercurial/statichttprepo.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/statichttprepo.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/statprof.py --- a/mercurial/statprof.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/statprof.py Thu Mar 03 17:34:00 2022 +0100 @@ -101,7 +101,6 @@ main thread's work patterns. """ # no-check-code -from __future__ import absolute_import, division, print_function import collections import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/store.py --- a/mercurial/store.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/store.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import functools diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/streamclone.py --- a/mercurial/streamclone.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/streamclone.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/strip.py --- a/mercurial/strip.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/strip.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - from .i18n import _ from .pycompat import getattr from . import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/subrepo.py --- a/mercurial/subrepo.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/subrepo.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import copy import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/subrepoutil.py --- a/mercurial/subrepoutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/subrepoutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/tagmerge.py --- a/mercurial/tagmerge.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/tagmerge.py Thu Mar 03 17:34:00 2022 +0100 @@ -71,7 +71,6 @@ # - put blocks whose nodes come all from p2 first # - write the tag blocks in the sorted order -from __future__ import absolute_import from .i18n import _ from . import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/tags.py --- a/mercurial/tags.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/tags.py Thu Mar 03 17:34:00 2022 +0100 @@ -10,7 +10,6 @@ # Eventually, it could take care of updating (adding/removing/moving) # tags too. -from __future__ import absolute_import import errno import io diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/templatefilters.py --- a/mercurial/templatefilters.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/templatefilters.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/templatefuncs.py --- a/mercurial/templatefuncs.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/templatefuncs.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/templatekw.py --- a/mercurial/templatekw.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/templatekw.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ from .node import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/templater.py --- a/mercurial/templater.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/templater.py Thu Mar 03 17:34:00 2022 +0100 @@ -65,7 +65,6 @@ operation. """ -from __future__ import absolute_import, print_function import abc import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/templateutil.py --- a/mercurial/templateutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/templateutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import abc import types diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/testing/__init__.py --- a/mercurial/testing/__init__.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/testing/__init__.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,8 +1,3 @@ -from __future__ import ( - absolute_import, - division, -) - import os import time diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/testing/revlog.py --- a/mercurial/testing/revlog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/testing/revlog.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import import unittest # picked from test-parse-index2, copied rather than imported diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/testing/storage.py --- a/mercurial/testing/storage.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/testing/storage.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import unittest diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/transaction.py --- a/mercurial/transaction.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/transaction.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,7 +11,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/treediscovery.py --- a/mercurial/treediscovery.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/treediscovery.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/txnutil.py --- a/mercurial/txnutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/txnutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/ui.py --- a/mercurial/ui.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/ui.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import collections import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/unionrepo.py --- a/mercurial/unionrepo.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/unionrepo.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,7 +11,6 @@ allowing operations like diff and log with revsets. """ -from __future__ import absolute_import from .i18n import _ from .pycompat import getattr diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/upgrade.py --- a/mercurial/upgrade.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/upgrade.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .i18n import _ from . import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/upgrade_utils/actions.py --- a/mercurial/upgrade_utils/actions.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/upgrade_utils/actions.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from ..i18n import _ from .. import ( diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/upgrade_utils/engine.py --- a/mercurial/upgrade_utils/engine.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/upgrade_utils/engine.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import stat diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/url.py --- a/mercurial/url.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/url.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import base64 import socket diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/urllibcompat.py --- a/mercurial/urllibcompat.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/urllibcompat.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .pycompat import getattr from . import pycompat diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/util.py --- a/mercurial/util.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/util.py Thu Mar 03 17:34:00 2022 +0100 @@ -13,7 +13,6 @@ hide platform-specific details from the core. """ -from __future__ import absolute_import, print_function import abc import collections diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/utils/cborutil.py --- a/mercurial/utils/cborutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/utils/cborutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import struct import sys diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/utils/compression.py --- a/mercurial/utils/compression.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/utils/compression.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,8 +4,6 @@ # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function - import bz2 import collections import zlib diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/utils/dateutil.py --- a/mercurial/utils/dateutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/utils/dateutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import calendar import datetime diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/utils/hashutil.py --- a/mercurial/utils/hashutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/utils/hashutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import hashlib try: diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/utils/procutil.py --- a/mercurial/utils/procutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/utils/procutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/utils/repoviewutil.py --- a/mercurial/utils/repoviewutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/utils/repoviewutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import ### Nearest subset relation # Nearest subset of filter X is a filter Y so that: diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/utils/resourceutil.py --- a/mercurial/utils/resourceutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/utils/resourceutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import imp import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/utils/storageutil.py --- a/mercurial/utils/storageutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/utils/storageutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import re import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/utils/stringutil.py --- a/mercurial/utils/stringutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/utils/stringutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import ast import codecs diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/verify.py --- a/mercurial/verify.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/verify.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/vfs.py --- a/mercurial/vfs.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/vfs.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import errno diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/win32.py --- a/mercurial/win32.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/win32.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import ctypes import ctypes.wintypes as wintypes diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/windows.py --- a/mercurial/windows.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/windows.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import getpass diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/wireprotoframing.py --- a/mercurial/wireprotoframing.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/wireprotoframing.py Thu Mar 03 17:34:00 2022 +0100 @@ -9,7 +9,6 @@ # protocol. For details about the protocol, see # `hg help internals.wireprotocol`. -from __future__ import absolute_import import collections import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/wireprotoserver.py --- a/mercurial/wireprotoserver.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/wireprotoserver.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import contextlib import struct diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/wireprototypes.py --- a/mercurial/wireprototypes.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/wireprototypes.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from .node import ( bin, diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/wireprotov1peer.py --- a/mercurial/wireprotov1peer.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/wireprotov1peer.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import sys import weakref diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/wireprotov1server.py --- a/mercurial/wireprotov1server.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/wireprotov1server.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import binascii import os diff -r af0b21d5a930 -r 6000f5b25c9b mercurial/worker.py --- a/mercurial/worker.py Sun Feb 20 15:18:15 2022 -0700 +++ b/mercurial/worker.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/artifacts/scripts/generate-churning-bundle.py --- a/tests/artifacts/scripts/generate-churning-bundle.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/artifacts/scripts/generate-churning-bundle.py Thu Mar 03 17:34:00 2022 +0100 @@ -17,7 +17,6 @@ # # Running with `chg` in your path and `CHGHG` set is recommended for speed. -from __future__ import absolute_import, print_function import hashlib import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/autodiff.py --- a/tests/autodiff.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/autodiff.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # Extension dedicated to test patch.diff() upgrade modes -from __future__ import absolute_import from mercurial import ( error, diff -r af0b21d5a930 -r 6000f5b25c9b tests/basic_test_result.py --- a/tests/basic_test_result.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/basic_test_result.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import sys import unittest diff -r af0b21d5a930 -r 6000f5b25c9b tests/blackbox-readonly-dispatch.py --- a/tests/blackbox-readonly-dispatch.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/blackbox-readonly-dispatch.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os from mercurial import ( dispatch, diff -r af0b21d5a930 -r 6000f5b25c9b tests/bruterebase.py --- a/tests/bruterebase.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/bruterebase.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial import ( error, diff -r af0b21d5a930 -r 6000f5b25c9b tests/check-perf-code.py --- a/tests/check-perf-code.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/check-perf-code.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ # # check-perf-code - (historical) portability checker for contrib/perf.py -from __future__ import absolute_import import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/common-pattern.py --- a/tests/common-pattern.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/common-pattern.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ # common patterns in test at can safely be replaced -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/crashgetbundler.py --- a/tests/crashgetbundler.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/crashgetbundler.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - from mercurial.i18n import _ from mercurial import changegroup, error, extensions diff -r af0b21d5a930 -r 6000f5b25c9b tests/drawdag.py --- a/tests/drawdag.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/drawdag.py Thu Mar 03 17:34:00 2022 +0100 @@ -80,7 +80,6 @@ # split: A -> B, C # 1 to many # prune: A, B, C # many to nothing """ -from __future__ import absolute_import, print_function import collections import itertools diff -r af0b21d5a930 -r 6000f5b25c9b tests/dumbhttp.py --- a/tests/dumbhttp.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/dumbhttp.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ #!/usr/bin/env python -from __future__ import absolute_import """ Small and dumb HTTP server for use in tests. diff -r af0b21d5a930 -r 6000f5b25c9b tests/dummysmtpd.py --- a/tests/dummysmtpd.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/dummysmtpd.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ """dummy SMTP server for use in tests""" -from __future__ import absolute_import import asyncore import optparse diff -r af0b21d5a930 -r 6000f5b25c9b tests/dummyssh --- a/tests/dummyssh Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/dummyssh Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ #!/usr/bin/env python3 -from __future__ import absolute_import import os import shlex diff -r af0b21d5a930 -r 6000f5b25c9b tests/f --- a/tests/f Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/f Thu Mar 03 17:34:00 2022 +0100 @@ -23,7 +23,6 @@ md5sum.py """ -from __future__ import absolute_import import binascii import glob diff -r af0b21d5a930 -r 6000f5b25c9b tests/failfilemerge.py --- a/tests/failfilemerge.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/failfilemerge.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # extension to emulate interrupting filemerge._filemerge -from __future__ import absolute_import from mercurial import ( error, diff -r af0b21d5a930 -r 6000f5b25c9b tests/fakedirstatewritetime.py --- a/tests/fakedirstatewritetime.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/fakedirstatewritetime.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # - 'workingctx._poststatusfixup()' (= 'repo.status()') # - 'committablectx.markcommitted()' -from __future__ import absolute_import from mercurial import ( context, diff -r af0b21d5a930 -r 6000f5b25c9b tests/fakemergerecord.py --- a/tests/fakemergerecord.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/fakemergerecord.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ # # -from __future__ import absolute_import from mercurial import ( mergestate as mergestatemod, diff -r af0b21d5a930 -r 6000f5b25c9b tests/fakepatchtime.py --- a/tests/fakepatchtime.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/fakepatchtime.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,7 +1,6 @@ # extension to emulate invoking 'patch.internalpatch()' at the time # specified by '[fakepatchtime] fakenow' -from __future__ import absolute_import from mercurial import ( extensions, diff -r af0b21d5a930 -r 6000f5b25c9b tests/filterpyflakes.py --- a/tests/filterpyflakes.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/filterpyflakes.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ # Filter output by pyflakes to control which warnings we check -from __future__ import absolute_import, print_function import re import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/filtertraceback.py --- a/tests/filtertraceback.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/filtertraceback.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ # Filters traceback lines from stdin. -from __future__ import absolute_import, print_function import io import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/flagprocessorext.py --- a/tests/flagprocessorext.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/flagprocessorext.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # coding=UTF-8 -from __future__ import absolute_import import base64 import zlib diff -r af0b21d5a930 -r 6000f5b25c9b tests/fsmonitor-run-tests.py --- a/tests/fsmonitor-run-tests.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/fsmonitor-run-tests.py Thu Mar 03 17:34:00 2022 +0100 @@ -11,8 +11,6 @@ # Watchman and runs the Mercurial tests against it. This ensures that the global # version of Watchman isn't affected by anything this test does. -from __future__ import absolute_import -from __future__ import print_function import argparse import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b tests/generate-working-copy-states.py --- a/tests/generate-working-copy-states.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/generate-working-copy-states.py Thu Mar 03 17:34:00 2022 +0100 @@ -29,7 +29,6 @@ # $ hg forget *_*_*-untracked # $ rm *_*_missing-* -from __future__ import absolute_import, print_function import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/get-with-headers.py --- a/tests/get-with-headers.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/get-with-headers.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ """This does HTTP GET requests given a host:port and path and returns a subset of the headers plus the body of the result.""" -from __future__ import absolute_import import argparse import json diff -r af0b21d5a930 -r 6000f5b25c9b tests/heredoctest.py --- a/tests/heredoctest.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/heredoctest.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/hghave --- a/tests/hghave Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/hghave Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ prefixed with "no-", the absence of feature is tested. """ -from __future__ import absolute_import, print_function import hghave import optparse diff -r af0b21d5a930 -r 6000f5b25c9b tests/hghave.py --- a/tests/hghave.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/hghave.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import distutils.version import os import re diff -r af0b21d5a930 -r 6000f5b25c9b tests/hgweberror.py --- a/tests/hgweberror.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/hgweberror.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # A dummy extension that installs an hgweb command that throws an Exception. -from __future__ import absolute_import from mercurial.hgweb import webcommands diff -r af0b21d5a930 -r 6000f5b25c9b tests/httpserverauth.py --- a/tests/httpserverauth.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/httpserverauth.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import base64 import hashlib diff -r af0b21d5a930 -r 6000f5b25c9b tests/hypothesishelpers.py --- a/tests/hypothesishelpers.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/hypothesishelpers.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ # # For details see http://hypothesis.readthedocs.org -from __future__ import absolute_import, print_function import os import sys import traceback diff -r af0b21d5a930 -r 6000f5b25c9b tests/killdaemons.py --- a/tests/killdaemons.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/killdaemons.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ #!/usr/bin/env python3 -from __future__ import absolute_import import errno import os import signal diff -r af0b21d5a930 -r 6000f5b25c9b tests/list-tree.py --- a/tests/list-tree.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/list-tree.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,8 +1,3 @@ -from __future__ import ( - absolute_import, - print_function, -) - import argparse import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/lockdelay.py --- a/tests/lockdelay.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/lockdelay.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ # # This extension can be used to test race conditions between lock acquisition. -from __future__ import absolute_import import os import time diff -r af0b21d5a930 -r 6000f5b25c9b tests/logexceptions.py --- a/tests/logexceptions.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/logexceptions.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import inspect import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/ls-l.py --- a/tests/ls-l.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/ls-l.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ # like ls -l, but do not print date, user, or non-common mode bit, to avoid # using globs in tests. -from __future__ import absolute_import, print_function import os import stat diff -r af0b21d5a930 -r 6000f5b25c9b tests/md5sum.py --- a/tests/md5sum.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/md5sum.py Thu Mar 03 17:34:00 2022 +0100 @@ -6,7 +6,6 @@ # of the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2, which is # GPL-compatible. -from __future__ import absolute_import import hashlib import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/mockblackbox.py --- a/tests/mockblackbox.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/mockblackbox.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import from mercurial.utils import procutil # XXX: we should probably offer a devel option to do this in blackbox directly diff -r af0b21d5a930 -r 6000f5b25c9b tests/mockmakedate.py --- a/tests/mockmakedate.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/mockmakedate.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # mock out util.makedate() to supply testable values -from __future__ import absolute_import import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/mocktime.py --- a/tests/mocktime.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/mocktime.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import os import time diff -r af0b21d5a930 -r 6000f5b25c9b tests/printenv.py --- a/tests/printenv.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/printenv.py Thu Mar 03 17:34:00 2022 +0100 @@ -12,7 +12,6 @@ # - [output] is the name of the output file (default: use sys.stdout) # the file will be opened in append mode. # -from __future__ import absolute_import import argparse import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/printrevset.py --- a/tests/printrevset.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/printrevset.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import from mercurial.thirdparty import attr from mercurial import ( cmdutil, diff -r af0b21d5a930 -r 6000f5b25c9b tests/pullext.py --- a/tests/pullext.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/pullext.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial.i18n import _ from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b tests/readlink.py --- a/tests/readlink.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/readlink.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ #!/usr/bin/env python3 -from __future__ import absolute_import, print_function import errno import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/remotefilelog-getflogheads.py --- a/tests/remotefilelog-getflogheads.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/remotefilelog-getflogheads.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - from mercurial.i18n import _ from mercurial import ( hg, diff -r af0b21d5a930 -r 6000f5b25c9b tests/revlog-formatv0.py --- a/tests/revlog-formatv0.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/revlog-formatv0.py Thu Mar 03 17:34:00 2022 +0100 @@ -17,7 +17,6 @@ empty file """ -from __future__ import absolute_import import binascii import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/revnamesext.py --- a/tests/revnamesext.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/revnamesext.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # Dummy extension to define a namespace containing revision names -from __future__ import absolute_import from mercurial import namespaces diff -r af0b21d5a930 -r 6000f5b25c9b tests/run-tests.py --- a/tests/run-tests.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/run-tests.py Thu Mar 03 17:34:00 2022 +0100 @@ -43,8 +43,6 @@ # completes fairly quickly, includes both shell and Python scripts, and # includes some scripts that run daemon processes.) -from __future__ import absolute_import, print_function - import argparse import collections diff -r af0b21d5a930 -r 6000f5b25c9b tests/seq.py --- a/tests/seq.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/seq.py Thu Mar 03 17:34:00 2022 +0100 @@ -7,7 +7,6 @@ # seq START STOP [START, STOP] stepping by 1 # seq START STEP STOP [START, STOP] stepping by STEP -from __future__ import absolute_import, print_function import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/silenttestrunner.py --- a/tests/silenttestrunner.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/silenttestrunner.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import, print_function import os import sys import unittest diff -r af0b21d5a930 -r 6000f5b25c9b tests/simplestorerepo.py --- a/tests/simplestorerepo.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/simplestorerepo.py Thu Mar 03 17:34:00 2022 +0100 @@ -10,7 +10,6 @@ # $ HGREPOFEATURES="simplestore" ./run-tests.py \ # --extra-config-opt extensions.simplestore=`pwd`/simplestorerepo.py -from __future__ import absolute_import import stat diff -r af0b21d5a930 -r 6000f5b25c9b tests/sitecustomize.py --- a/tests/sitecustomize.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/sitecustomize.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import import os if os.environ.get('COVERAGE_PROCESS_START'): diff -r af0b21d5a930 -r 6000f5b25c9b tests/sshprotoext.py --- a/tests/sshprotoext.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/sshprotoext.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ # This extension replaces the SSH server started via `hg serve --stdio`. # The server behaves differently depending on environment variables. -from __future__ import absolute_import from mercurial import ( error, diff -r af0b21d5a930 -r 6000f5b25c9b tests/svn-safe-append.py --- a/tests/svn-safe-append.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/svn-safe-append.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ #!/usr/bin/env python3 -from __future__ import absolute_import __doc__ = """Same as `echo a >> b`, but ensures a changed mtime of b. Without this svn will not detect workspace changes.""" diff -r af0b21d5a930 -r 6000f5b25c9b tests/svnurlof.py --- a/tests/svnurlof.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/svnurlof.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import, print_function import sys from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b tests/svnxml.py --- a/tests/svnxml.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/svnxml.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,7 +1,6 @@ # Read the output of a "svn log --xml" command on stdin, parse it and # print a subset of attributes common to all svn versions tested by # hg. -from __future__ import absolute_import import sys import xml.dom.minidom diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-absorb-filefixupstate.py --- a/tests/test-absorb-filefixupstate.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-absorb-filefixupstate.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import itertools from mercurial import pycompat from hgext import absorb diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-ancestor.py --- a/tests/test-ancestor.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-ancestor.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import binascii import getopt import math diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-annotate.py --- a/tests/test-annotate.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-annotate.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,3 @@ -from __future__ import absolute_import -from __future__ import print_function - import unittest from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-atomictempfile.py --- a/tests/test-atomictempfile.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-atomictempfile.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import glob import os import shutil diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-batching.py --- a/tests/test-batching.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-batching.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import, print_function import contextlib diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-bdiff.py --- a/tests/test-bdiff.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-bdiff.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import, print_function import collections import struct import unittest diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-cappedreader.py --- a/tests/test-cappedreader.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-cappedreader.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import io import unittest diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-cbor.py --- a/tests/test-cbor.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-cbor.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import os import sys import unittest diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-check-interfaces.py --- a/tests/test-check-interfaces.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-check-interfaces.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # Test that certain objects conform to well-defined interfaces. -from __future__ import absolute_import, print_function from mercurial import encoding diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-config-env.py --- a/tests/test-config-env.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-config-env.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # Test the config layer generated by environment variables -from __future__ import absolute_import, print_function import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-context.py --- a/tests/test-context.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-context.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import, print_function import os import stat import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-demandimport.py --- a/tests/test-demandimport.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-demandimport.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - from mercurial import demandimport demandimport.enable() diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-dirs.py --- a/tests/test-dirs.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-dirs.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import unittest import silenttestrunner diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-dispatch.py --- a/tests/test-dispatch.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-dispatch.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import, print_function import os import sys from mercurial import dispatch diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-doctest.py --- a/tests/test-doctest.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-doctest.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,7 +1,5 @@ # this is hack to make sure no escape characters are inserted into the output -from __future__ import absolute_import -from __future__ import print_function import doctest import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-duplicateoptions.py --- a/tests/test-duplicateoptions.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-duplicateoptions.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import, print_function import os from mercurial import ( commands, diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-encoding-func.py --- a/tests/test-encoding-func.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-encoding-func.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import unittest from mercurial import encoding diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-extensions-wrapfunction.py --- a/tests/test-extensions-wrapfunction.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-extensions-wrapfunction.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - from mercurial import extensions diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-fastannotate-revmap.py --- a/tests/test-fastannotate-revmap.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-fastannotate-revmap.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import os import tempfile diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-filecache.py --- a/tests/test-filecache.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-filecache.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import, print_function import os import stat import subprocess diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-filelog.py --- a/tests/test-filelog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-filelog.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ """ Tests the behavior of filelog w.r.t. data starting with '\1\n' """ -from __future__ import absolute_import, print_function from mercurial.node import hex from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-hashutil.py --- a/tests/test-hashutil.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-hashutil.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # Tests to ensure that sha1dc.sha1 is exactly a drop-in for # hashlib.sha1 for our needs. -from __future__ import absolute_import import hashlib import unittest diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-hg-parseurl.py --- a/tests/test-hg-parseurl.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-hg-parseurl.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import unittest from mercurial.utils import urlutil diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-hgweb-auth.py --- a/tests/test-hgweb-auth.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-hgweb-auth.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - from mercurial import demandimport demandimport.enable() diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-hgwebdir-gc.py --- a/tests/test-hgwebdir-gc.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-hgwebdir-gc.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import os from mercurial.hgweb import hgwebdir_mod diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-hgwebdir-paths.py --- a/tests/test-hgwebdir-paths.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-hgwebdir-paths.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import os from mercurial import ( hg, diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-hybridencode.py --- a/tests/test-hybridencode.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-hybridencode.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import unittest from mercurial import store diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-lfs-pointer.py --- a/tests/test-lfs-pointer.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-lfs-pointer.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - # Import something from Mercurial, so the module loader gets initialized. from mercurial import pycompat diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-linelog.py --- a/tests/test-linelog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-linelog.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import difflib import random import unittest diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-linerange.py --- a/tests/test-linerange.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-linerange.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import unittest from mercurial import error, mdiff from mercurial.utils import stringutil diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-lock.py --- a/tests/test-lock.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-lock.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import copy import errno import tempfile diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-lrucachedict.py --- a/tests/test-lrucachedict.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-lrucachedict.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import unittest import silenttestrunner diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-manifest.py --- a/tests/test-manifest.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-manifest.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import binascii import itertools import silenttestrunner diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-match.py --- a/tests/test-match.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-match.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import unittest import silenttestrunner diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-mdiff.py --- a/tests/test-mdiff.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-mdiff.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,3 @@ -from __future__ import absolute_import -from __future__ import print_function - import unittest from mercurial import mdiff diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-minifileset.py --- a/tests/test-minifileset.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-minifileset.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,3 @@ -from __future__ import absolute_import -from __future__ import print_function - from mercurial import minifileset diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-minirst.py --- a/tests/test-minirst.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-minirst.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import, print_function from mercurial import minirst from mercurial.utils import stringutil diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-parseindex2.py --- a/tests/test-parseindex2.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-parseindex2.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ It also checks certain aspects of the parsers module as a whole. """ -from __future__ import absolute_import, print_function import os import struct diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-pathencode.py --- a/tests/test-pathencode.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-pathencode.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # that have proven likely to expose bugs and divergent behavior in # different encoding implementations. -from __future__ import absolute_import, print_function import binascii import collections diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-propertycache.py --- a/tests/test-propertycache.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-propertycache.py Thu Mar 03 17:34:00 2022 +0100 @@ -4,7 +4,6 @@ property cache of both localrepo and repoview to prevent regression.""" -from __future__ import absolute_import, print_function import os import subprocess diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-remotefilelog-datapack.py --- a/tests/test-remotefilelog-datapack.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-remotefilelog-datapack.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ #!/usr/bin/env python -from __future__ import absolute_import, print_function import hashlib import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-remotefilelog-histpack.py --- a/tests/test-remotefilelog-histpack.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-remotefilelog-histpack.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ #!/usr/bin/env python -from __future__ import absolute_import import hashlib import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-revlog-ancestry.py --- a/tests/test-revlog-ancestry.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-revlog-ancestry.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import, print_function import os from mercurial import ( hg, diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-revlog-raw.py --- a/tests/test-revlog-raw.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-revlog-raw.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # test revlog interaction about raw data (flagprocessor) -from __future__ import absolute_import, print_function import collections import hashlib diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-run-tests.py --- a/tests/test-run-tests.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-run-tests.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ run-test.t only checks positive matches and can not see warnings (both by design) """ -from __future__ import absolute_import, print_function import doctest import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-rust-ancestor.py --- a/tests/test-rust-ancestor.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-rust-ancestor.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import import sys import unittest diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-rust-discovery.py --- a/tests/test-rust-discovery.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-rust-discovery.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import import unittest from mercurial import policy diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-rust-revlog.py --- a/tests/test-rust-revlog.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-rust-revlog.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import import unittest try: diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-simplekeyvaluefile.py --- a/tests/test-simplekeyvaluefile.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-simplekeyvaluefile.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import unittest import silenttestrunner diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-simplemerge.py --- a/tests/test-simplemerge.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-simplemerge.py Thu Mar 03 17:34:00 2022 +0100 @@ -13,7 +13,6 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . -from __future__ import absolute_import import unittest from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-sshserver.py --- a/tests/test-sshserver.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-sshserver.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import io import unittest diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-status-inprocess.py --- a/tests/test-status-inprocess.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-status-inprocess.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ #!/usr/bin/env python -from __future__ import absolute_import, print_function import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-stdio.py --- a/tests/test-stdio.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-stdio.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ """ Tests the buffering behavior of stdio streams in `mercurial.utils.procutil`. """ -from __future__ import absolute_import import contextlib import errno diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-storage.py --- a/tests/test-storage.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-storage.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ # This test verifies the conformance of various classes to various # storage interfaces. -from __future__ import absolute_import import silenttestrunner diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-symlink-os-yes-fs-no.py --- a/tests/test-symlink-os-yes-fs-no.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-symlink-os-yes-fs-no.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import os import sys import time diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-trusted.py --- a/tests/test-trusted.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-trusted.py Thu Mar 03 17:34:00 2022 +0100 @@ -2,7 +2,6 @@ # with files from different users/groups, we cheat a bit by # monkey-patching some functions in the util module -from __future__ import absolute_import, print_function import os import sys diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-ui-color.py --- a/tests/test-ui-color.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-ui-color.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import os from mercurial import ( dispatch, diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-ui-config.py --- a/tests/test-ui-config.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-ui-config.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,4 +1,3 @@ -from __future__ import absolute_import, print_function from mercurial import ( dispatch, error, diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-ui-verbosity.py --- a/tests/test-ui-verbosity.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-ui-verbosity.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import os from mercurial import ( pycompat, diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-url.py --- a/tests/test-url.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-url.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ # coding=utf-8 -from __future__ import absolute_import, print_function import doctest import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-util.py --- a/tests/test-util.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-util.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ # unit tests for mercuril.util utilities -from __future__ import absolute_import import contextlib import io diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-verify-repo-operations.py --- a/tests/test-verify-repo-operations.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-verify-repo-operations.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import print_function, absolute_import - """Fuzz testing for operations against a Mercurial repository This uses Hypothesis's stateful testing to generate random repository diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-walkrepo.py --- a/tests/test-walkrepo.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-walkrepo.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import os from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-wireproto-clientreactor.py --- a/tests/test-wireproto-clientreactor.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-wireproto-clientreactor.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import sys import unittest import zlib diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-wireproto-framing.py --- a/tests/test-wireproto-framing.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-wireproto-framing.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import unittest from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-wireproto-serverreactor.py --- a/tests/test-wireproto-serverreactor.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-wireproto-serverreactor.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import unittest from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-wireproto.py --- a/tests/test-wireproto.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-wireproto.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import sys from mercurial import ( diff -r af0b21d5a930 -r 6000f5b25c9b tests/test-wsgirequest.py --- a/tests/test-wsgirequest.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/test-wsgirequest.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import unittest from mercurial.hgweb import request as requestmod diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/badserverext.py --- a/tests/testlib/badserverext.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/badserverext.py Thu Mar 03 17:34:00 2022 +0100 @@ -44,7 +44,6 @@ request) """ -from __future__ import absolute_import import re import socket diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/crash_transaction_late.py --- a/tests/testlib/crash_transaction_late.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/crash_transaction_late.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial import ( error, diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/ext-phase-report.py --- a/tests/testlib/ext-phase-report.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/ext-phase-report.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,7 +1,5 @@ # tiny extension to report phase changes during transaction -from __future__ import absolute_import - def reposetup(ui, repo): def reportphasemove(tr): diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/ext-sidedata-2.py --- a/tests/testlib/ext-sidedata-2.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/ext-sidedata-2.py Thu Mar 03 17:34:00 2022 +0100 @@ -8,7 +8,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import hashlib import struct diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/ext-sidedata-3.py --- a/tests/testlib/ext-sidedata-3.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/ext-sidedata-3.py Thu Mar 03 17:34:00 2022 +0100 @@ -9,7 +9,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import hashlib import struct diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/ext-sidedata-4.py --- a/tests/testlib/ext-sidedata-4.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/ext-sidedata-4.py Thu Mar 03 17:34:00 2022 +0100 @@ -9,7 +9,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import from mercurial.revlogutils import sidedata diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/ext-sidedata-5.py --- a/tests/testlib/ext-sidedata-5.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/ext-sidedata-5.py Thu Mar 03 17:34:00 2022 +0100 @@ -9,7 +9,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import hashlib import struct diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/ext-sidedata.py --- a/tests/testlib/ext-sidedata.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/ext-sidedata.py Thu Mar 03 17:34:00 2022 +0100 @@ -5,7 +5,6 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. -from __future__ import absolute_import import hashlib import struct diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/ext-stream-clone-steps.py --- a/tests/testlib/ext-stream-clone-steps.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/ext-stream-clone-steps.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import - from mercurial import ( encoding, extensions, diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/persistent-nodemap-race-ext.py --- a/tests/testlib/persistent-nodemap-race-ext.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/persistent-nodemap-race-ext.py Thu Mar 03 17:34:00 2022 +0100 @@ -35,7 +35,6 @@ /!\ valid. """ -from __future__ import print_function import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/sigpipe-remote.py --- a/tests/testlib/sigpipe-remote.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/sigpipe-remote.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -from __future__ import print_function import io import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/testlib/sigpipe-worker.py --- a/tests/testlib/sigpipe-worker.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/testlib/sigpipe-worker.py Thu Mar 03 17:34:00 2022 +0100 @@ -3,7 +3,6 @@ # This is literally `cat` but in python, one char at a time. # # see sigpipe-remote.py for details. -from __future__ import print_function import io import os diff -r af0b21d5a930 -r 6000f5b25c9b tests/tinyproxy.py --- a/tests/tinyproxy.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/tinyproxy.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,6 +1,5 @@ #!/usr/bin/env python -from __future__ import absolute_import, print_function __doc__ = """Tiny HTTP Proxy. diff -r af0b21d5a930 -r 6000f5b25c9b tests/unwrap-message-id.py --- a/tests/unwrap-message-id.py Sun Feb 20 15:18:15 2022 -0700 +++ b/tests/unwrap-message-id.py Thu Mar 03 17:34:00 2022 +0100 @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import sys for line in sys.stdin: