[Updated] D12621: check-py3-compat: use an absolute path in sys.path
av6 (Anton Shestakov)
phabricator at mercurial-scm.org
Tue May 24 16:26:21 UTC 2022
Closed by commit rHG3f9125db466f: check-py3-compat: use an absolute path in sys.path (authored by av6).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D12621?vs=33443&id=33445
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D12621/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D12621
AFFECTED FILES
contrib/check-py3-compat.py
CHANGE DETAILS
diff --git a/contrib/check-py3-compat.py b/contrib/check-py3-compat.py
--- a/contrib/check-py3-compat.py
+++ b/contrib/check-py3-compat.py
@@ -105,7 +105,7 @@
# specified. When running as test-check-py3-compat.t, we technically
# would import the correct paths, but it's cleaner to have both cases
# use the same import logic.
- sys.path.insert(0, '.')
+ sys.path.insert(0, os.getcwd())
fn = check_compat_py3
for f in sys.argv[1:]:
To: av6, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220524/632907ca/attachment-0002.html>
More information about the Mercurial-patches
mailing list