D12254: py2: remove simple from __future__ statements

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Mar 2 00:44:10 UTC 2022


indygreg created this revision.
Herald added a reviewer: durin42.
Herald added a reviewer: durin42.
Herald added a reviewer: martinvonz.
Herald added a reviewer: martinvonz.
Herald added subscribers: mercurial-patches, Kwan.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  These were needed for Python 2 support. Now that our linter no longer
  mandates these, we can start deleting them.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D12254

AFFECTED FILES
  contrib/bdiff-torture.py
  contrib/benchmarks/__init__.py
  contrib/benchmarks/perf.py
  contrib/benchmarks/revset.py
  contrib/byteify-strings.py
  contrib/casesmash.py
  contrib/catapipe.py
  contrib/check-code.py
  contrib/check-commit
  contrib/check-config.py
  contrib/check-py3-compat.py
  contrib/debugcmdserver.py
  contrib/debugshell.py
  contrib/dumprevlog
  contrib/fuzz/dirs_corpus.py
  contrib/fuzz/dirstate_corpus.py
  contrib/fuzz/fm1readmarkers_corpus.py
  contrib/fuzz/manifest_corpus.py
  contrib/fuzz/mpatch_corpus.py
  contrib/fuzz/revlog_corpus.py
  contrib/genosxversion.py
  contrib/hg-ssh
  contrib/hgclient.py
  contrib/import-checker.py
  contrib/memory.py
  contrib/perf-utils/perf-revlog-write-plot.py
  contrib/perf-utils/search-discovery-case
  contrib/perf.py
  contrib/phab-clean.py
  contrib/python-hook-examples.py
  contrib/python-zstandard/make_cffi.py
  contrib/python-zstandard/setup.py
  contrib/python-zstandard/tests/test_module_attributes.py
  contrib/python-zstandard/zstandard/__init__.py
  contrib/python-zstandard/zstandard/cffi.py
  contrib/python3-ratchet.py
  contrib/revsetbenchmarks.py
  contrib/showstack.py
  contrib/simplemerge
  contrib/synthrepo.py
  contrib/testparseutil.py
  contrib/undumprevlog
  contrib/win32/hgwebdir_wsgi.py
  doc/check-seclevel.py
  doc/docchecker
  doc/gendoc.py
  doc/hgmanpage.py
  doc/runrst
  hg
  hgdemandimport/__init__.py
  hgdemandimport/demandimportpy2.py
  hgdemandimport/demandimportpy3.py
  hgdemandimport/tracing.py
  hgext/__init__.py
  hgext/absorb.py
  hgext/acl.py
  hgext/amend.py
  hgext/automv.py
  hgext/beautifygraph.py
  hgext/blackbox.py
  hgext/bookflow.py
  hgext/bugzilla.py
  hgext/censor.py
  hgext/children.py
  hgext/churn.py
  hgext/clonebundles.py
  hgext/closehead.py
  hgext/commitextras.py
  hgext/convert/__init__.py
  hgext/convert/bzr.py
  hgext/convert/common.py
  hgext/convert/convcmd.py
  hgext/convert/cvs.py
  hgext/convert/cvsps.py
  hgext/convert/darcs.py
  hgext/convert/filemap.py
  hgext/convert/git.py
  hgext/convert/gnuarch.py
  hgext/convert/hg.py
  hgext/convert/monotone.py
  hgext/convert/p4.py
  hgext/convert/subversion.py
  hgext/convert/transport.py
  hgext/eol.py
  hgext/extdiff.py
  hgext/factotum.py
  hgext/fastannotate/__init__.py
  hgext/fastannotate/commands.py
  hgext/fastannotate/context.py
  hgext/fastannotate/error.py
  hgext/fastannotate/formatter.py
  hgext/fastannotate/protocol.py
  hgext/fastannotate/revmap.py
  hgext/fastannotate/support.py
  hgext/fastexport.py
  hgext/fetch.py
  hgext/fix.py
  hgext/fsmonitor/__init__.py
  hgext/fsmonitor/pywatchman/__init__.py
  hgext/fsmonitor/pywatchman/capabilities.py
  hgext/fsmonitor/pywatchman/compat.py
  hgext/fsmonitor/pywatchman/encoding.py
  hgext/fsmonitor/pywatchman/load.py
  hgext/fsmonitor/pywatchman/pybser.py
  hgext/fsmonitor/state.py
  hgext/fsmonitor/watchmanclient.py
  hgext/git/__init__.py
  hgext/git/dirstate.py
  hgext/git/gitlog.py
  hgext/git/gitutil.py
  hgext/git/index.py
  hgext/git/manifest.py
  hgext/githelp.py
  hgext/gpg.py
  hgext/graphlog.py
  hgext/hgk.py
  hgext/highlight/__init__.py
  hgext/highlight/highlight.py
  hgext/histedit.py
  hgext/hooklib/__init__.py
  hgext/hooklib/changeset_obsoleted.py
  hgext/hooklib/changeset_published.py
  hgext/hooklib/enforce_draft_commits.py
  hgext/hooklib/reject_merge_commits.py
  hgext/hooklib/reject_new_heads.py
  hgext/infinitepush/__init__.py
  hgext/infinitepush/bundleparts.py
  hgext/infinitepush/common.py
  hgext/infinitepush/fileindexapi.py
  hgext/infinitepush/indexapi.py
  hgext/infinitepush/sqlindexapi.py
  hgext/infinitepush/store.py
  hgext/journal.py
  hgext/keyword.py
  hgext/largefiles/__init__.py
  hgext/largefiles/basestore.py
  hgext/largefiles/lfcommands.py
  hgext/largefiles/lfutil.py
  hgext/largefiles/localstore.py
  hgext/largefiles/overrides.py
  hgext/largefiles/proto.py
  hgext/largefiles/remotestore.py
  hgext/largefiles/reposetup.py
  hgext/largefiles/storefactory.py
  hgext/largefiles/wirestore.py
  hgext/lfs/__init__.py
  hgext/lfs/blobstore.py
  hgext/lfs/pointer.py
  hgext/lfs/wireprotolfsserver.py
  hgext/lfs/wrapper.py
  hgext/logtoprocess.py
  hgext/mq.py
  hgext/narrow/__init__.py
  hgext/narrow/narrowbundle2.py
  hgext/narrow/narrowcommands.py
  hgext/narrow/narrowdirstate.py
  hgext/narrow/narrowrepo.py
  hgext/narrow/narrowtemplates.py
  hgext/narrow/narrowwirepeer.py
  hgext/notify.py
  hgext/pager.py
  hgext/patchbomb.py
  hgext/phabricator.py
  hgext/rebase.py
  hgext/record.py
  hgext/releasenotes.py
  hgext/relink.py
  hgext/remotefilelog/__init__.py
  hgext/remotefilelog/basepack.py
  hgext/remotefilelog/basestore.py
  hgext/remotefilelog/connectionpool.py
  hgext/remotefilelog/constants.py
  hgext/remotefilelog/contentstore.py
  hgext/remotefilelog/datapack.py
  hgext/remotefilelog/debugcommands.py
  hgext/remotefilelog/fileserverclient.py
  hgext/remotefilelog/historypack.py
  hgext/remotefilelog/metadatastore.py
  hgext/remotefilelog/remotefilectx.py
  hgext/remotefilelog/remotefilelog.py
  hgext/remotefilelog/remotefilelogserver.py
  hgext/remotefilelog/repack.py
  hgext/remotefilelog/shallowbundle.py
  hgext/remotefilelog/shallowrepo.py
  hgext/remotefilelog/shallowstore.py
  hgext/remotefilelog/shallowutil.py
  hgext/remotefilelog/shallowverifier.py
  hgext/remotenames.py
  hgext/schemes.py
  hgext/share.py
  hgext/show.py
  hgext/sparse.py
  hgext/split.py
  hgext/sqlitestore.py
  hgext/strip.py
  hgext/transplant.py
  hgext/uncommit.py
  hgext/win32mbcs.py
  hgext/win32text.py
  hgext/zeroconf/Zeroconf.py
  hgext/zeroconf/__init__.py
  hgext3rd/__init__.py
  i18n/check-translation.py
  i18n/hggettext
  i18n/polib.py
  i18n/posplit
  mercurial/__init__.py
  mercurial/ancestor.py
  mercurial/archival.py
  mercurial/bookmarks.py
  mercurial/branchmap.py
  mercurial/bundle2.py
  mercurial/bundlerepo.py
  mercurial/cacheutil.py
  mercurial/cffi/bdiff.py
  mercurial/cffi/bdiffbuild.py
  mercurial/cffi/mpatch.py
  mercurial/cffi/mpatchbuild.py
  mercurial/cffi/osutil.py
  mercurial/cffi/osutilbuild.py
  mercurial/changegroup.py
  mercurial/changelog.py
  mercurial/chgserver.py
  mercurial/cmdutil.py
  mercurial/color.py
  mercurial/commands.py
  mercurial/commandserver.py
  mercurial/commit.py
  mercurial/config.py
  mercurial/configitems.py
  mercurial/context.py
  mercurial/copies.py
  mercurial/crecord.py
  mercurial/dagop.py
  mercurial/dagparser.py
  mercurial/debugcommands.py
  mercurial/destutil.py
  mercurial/diffhelper.py
  mercurial/diffutil.py
  mercurial/dirstate.py
  mercurial/dirstateguard.py
  mercurial/dirstatemap.py
  mercurial/dirstateutils/docket.py
  mercurial/dirstateutils/timestamp.py
  mercurial/dirstateutils/v2.py
  mercurial/discovery.py
  mercurial/dispatch.py
  mercurial/encoding.py
  mercurial/error.py
  mercurial/exchange.py
  (286 more files...)

To: indygreg, durin42, martinvonz, #hg-reviewers
Cc: Kwan, mercurial-patches, spectral, mercurial-devel


More information about the Mercurial-devel mailing list