[Commented On] D12622: doc: use an absolute path in sys.path
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue May 24 16:50:58 UTC 2022
baymax added a comment.
baymax updated this revision to Diff 33449.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
⚠ This patch is intended for stable ⚠
<img src="https://phab.mercurial-scm.org/file/data/mvkmk5kljvqbf7nkivnv/PHID-FILE-6mzlgmh6kc53zogoba7l/source.gif" />
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D12622?vs=33446&id=33449
BRANCH
stable
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D12622/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D12622
AFFECTED FILES
doc/check-seclevel.py
CHANGE DETAILS
diff --git a/doc/check-seclevel.py b/doc/check-seclevel.py
--- a/doc/check-seclevel.py
+++ b/doc/check-seclevel.py
@@ -10,7 +10,7 @@
# import from the live mercurial repo
os.environ['HGMODULEPOLICY'] = 'py'
-sys.path.insert(0, "..")
+sys.path.insert(0, os.path.abspath(".."))
from mercurial import demandimport
demandimport.enable()
To: av6, #hg-reviewers, xcintax, Alphare
Cc: Alphare, xcintax, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220524/892f85e5/attachment-0002.html>
More information about the Mercurial-patches
mailing list