#require test-repo $ . "$TESTDIR/helpers-testrepo.sh" $ cd "$TESTDIR"/.. $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py hgext/fsmonitor/pywatchman/__init__.py not using absolute_import hgext/fsmonitor/pywatchman/__init__.py requires print_function hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import hgext/fsmonitor/pywatchman/pybser.py not using absolute_import i18n/check-translation.py not using absolute_import setup.py not using absolute_import tests/test-demandimport.py not using absolute_import #if py3exe $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py doc/hgmanpage.py: invalid syntax: invalid syntax (, line *) (glob) hgext/acl.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/automv.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/blackbox.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/bugzilla.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/censor.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/chgserver.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/children.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/churn.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/clonebundles.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/color.py: invalid syntax: invalid syntax (, line *) (glob) hgext/convert/bzr.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/common.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/convcmd.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/cvs.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/cvsps.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/darcs.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/filemap.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/git.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/gnuarch.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/hg.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/monotone.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/p4.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/subversion.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/convert/transport.py: error importing module: No module named 'svn.client' (line *) (glob) hgext/eol.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/extdiff.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/factotum.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/fetch.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/fsmonitor/state.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/fsmonitor/watchmanclient.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/gpg.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/graphlog.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/hgk.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/highlight/highlight.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/histedit.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/journal.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/keyword.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/basestore.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/lfcommands.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/lfutil.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/localstore.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/overrides.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/proto.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/remotestore.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/reposetup.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/storefactory.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/uisetup.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/largefiles/wirestore.py: error importing module: Parent module 'hgext.largefiles' not loaded, cannot perform relative import (line *) (glob) hgext/mq.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/notify.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/pager.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/patchbomb.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/purge.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/rebase.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/record.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/relink.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/schemes.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/share.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/shelve.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/strip.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/transplant.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/win32mbcs.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) hgext/win32text.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/archival.py: invalid syntax: invalid syntax (, line *) (glob) mercurial/bookmarks.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/branchmap.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/bundle2.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/bundlerepo.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/byterange.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/changegroup.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/changelog.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/cmdutil.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/commands.py: invalid syntax: invalid syntax (, line *) (glob) mercurial/commandserver.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/config.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/context.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/copies.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/crecord.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/dagparser.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/dagutil.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/destutil.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/dirstate.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/discovery.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/dispatch.py: error importing: str expected, not bytes (error at encoding.py:*) (glob) mercurial/exchange.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/extensions.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/fancyopts.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/filelog.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/filemerge.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/fileset.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/formatter.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/graphmod.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/hbisect.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/help.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/hg.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/hgweb/common.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) mercurial/hgweb/hgweb_mod.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) mercurial/hgweb/hgwebdir_mod.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) mercurial/hgweb/protocol.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) mercurial/hgweb/request.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) mercurial/hgweb/server.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) mercurial/hgweb/webcommands.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) mercurial/hgweb/webutil.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) mercurial/hgweb/wsgicgi.py: error importing module: Parent module 'mercurial.hgweb' not loaded, cannot perform relative import (line *) (glob) mercurial/hook.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/httpconnection.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/httppeer.py: error importing: str expected, not bytes (error at i18n.py:*) (glob) mercurial/keepalive.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/localrepo.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/lock.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/mail.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/manifest.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/match.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/mdiff.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/merge.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/minirst.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/namespaces.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/obsolete.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/patch.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/pathutil.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/peer.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/pure/mpatch.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/pure/parsers.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/pushkey.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/pvec.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/registrar.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/repair.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/repoview.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/revlog.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/revset.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/scmutil.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/scmwindows.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/similar.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/simplemerge.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/sshpeer.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/sshserver.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/sslutil.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/statichttprepo.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/store.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/streamclone.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/subrepo.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/tagmerge.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/tags.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/templatefilters.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/templatekw.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/templater.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/transaction.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/ui.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/unionrepo.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/url.py: error importing: getattr(): attribute name must be string (error at util.py:*) (glob) mercurial/verify.py: error importing: attribute name must be string, not 'bytes' (error at mdiff.py:*) (glob) mercurial/win32.py: error importing module: No module named 'msvcrt' (line *) (glob) mercurial/windows.py: error importing module: No module named 'msvcrt' (line *) (glob) mercurial/wireproto.py: error importing module: a bytes-like object is required, not 'str' (line *) (glob) #endif