D6972: formatting: byteify all mercurial/ and hgext/ string literals

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sat Oct 5 14:06:24 UTC 2019


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

REVISION SUMMARY
  Done with
  
    python3 contrib/byteify-strings.py -i $(hg files 'set:mercurial/**.py - mercurial/thirdparty/** + hgext/**.py')
    black -l 80 -t py33 -S $(hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"')
  
  This introduces some check-code too-long lines. Rather than fix them,
  I'd like to remove the check and instead just verify that things are
  correctly formatted with black.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  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/formatter.py
  hgext/fastannotate/protocol.py
  hgext/fastannotate/revmap.py
  hgext/fastannotate/support.py
  hgext/fetch.py
  hgext/fix.py
  hgext/fsmonitor/__init__.py
  hgext/fsmonitor/pywatchman/__init__.py
  hgext/fsmonitor/pywatchman/capabilities.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/githelp.py
  hgext/gpg.py
  hgext/graphlog.py
  hgext/hgk.py
  hgext/highlight/__init__.py
  hgext/highlight/highlight.py
  hgext/histedit.py
  hgext/infinitepush/__init__.py
  hgext/infinitepush/bundleparts.py
  hgext/infinitepush/common.py
  hgext/infinitepush/fileindexapi.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/narrowtemplates.py
  hgext/narrow/narrowwirepeer.py
  hgext/notify.py
  hgext/pager.py
  hgext/patchbomb.py
  hgext/phabricator.py
  hgext/purge.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/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
  mercurial/__init__.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/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/discovery.py
  mercurial/dispatch.py
  mercurial/encoding.py
  mercurial/error.py
  mercurial/exchange.py
  mercurial/exchangev2.py
  mercurial/extensions.py
  mercurial/exthelper.py
  mercurial/fancyopts.py
  mercurial/filelog.py
  mercurial/filemerge.py
  mercurial/fileset.py
  mercurial/filesetlang.py
  mercurial/formatter.py
  mercurial/graphmod.py
  mercurial/hbisect.py
  mercurial/help.py
  mercurial/hg.py
  mercurial/hgweb/__init__.py
  mercurial/hgweb/common.py
  mercurial/hgweb/hgweb_mod.py
  mercurial/hgweb/hgwebdir_mod.py
  mercurial/hgweb/request.py
  mercurial/hgweb/server.py
  mercurial/hgweb/webcommands.py
  mercurial/hgweb/webutil.py
  mercurial/hgweb/wsgicgi.py
  mercurial/hgweb/wsgiheaders.py
  mercurial/hook.py
  mercurial/httpconnection.py
  mercurial/httppeer.py
  mercurial/i18n.py
  mercurial/interfaces/dirstate.py
  mercurial/interfaces/repository.py
  mercurial/interfaces/util.py
  mercurial/keepalive.py
  mercurial/linelog.py
  mercurial/localrepo.py
  mercurial/lock.py
  mercurial/logcmdutil.py
  mercurial/logexchange.py
  mercurial/loggingutil.py
  mercurial/lsprof.py
  mercurial/lsprofcalltree.py
  mercurial/mail.py
  mercurial/manifest.py
  mercurial/match.py
  mercurial/mdiff.py
  mercurial/merge.py
  mercurial/mergeutil.py
  mercurial/minifileset.py
  mercurial/minirst.py
  mercurial/namespaces.py
  mercurial/narrowspec.py
  mercurial/node.py
  mercurial/obsolete.py
  mercurial/obsutil.py
  mercurial/parser.py
  mercurial/patch.py
  mercurial/pathutil.py
  mercurial/phases.py
  mercurial/posix.py
  mercurial/profiling.py
  mercurial/progress.py
  mercurial/pure/base85.py
  mercurial/pure/bdiff.py
  mercurial/pure/charencode.py
  mercurial/pure/mpatch.py
  mercurial/pure/osutil.py
  mercurial/pure/parsers.py
  mercurial/pushkey.py
  mercurial/pvec.py
  mercurial/pycompat.py
  mercurial/rcutil.py
  mercurial/registrar.py
  mercurial/repair.py
  mercurial/repocache.py
  mercurial/repoview.py
  mercurial/revlog.py
  mercurial/revlogutils/deltas.py
  mercurial/revlogutils/flagutil.py
  mercurial/revlogutils/sidedata.py
  mercurial/revset.py
  mercurial/revsetlang.py
  mercurial/rewriteutil.py
  mercurial/scmposix.py
  mercurial/scmutil.py
  (54 more files...)

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


More information about the Mercurial-devel mailing list