[Commented On] D11300: pyoxidizer: wrap the pyoxidizer script on multiple line
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Wed Aug 18 16:25:16 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 29927.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
⚠ This patch is intended for stable ⚠
<img src="https://phab.mercurial-scm.org/file/data/p334drn6opgk3ac7exvu/PHID-FILE-h4oskowh6xyt7acp2mxz/source.gif" />
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11300?vs=29924&id=29927
BRANCH
stable
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11300/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11300
AFFECTED FILES
rust/hgcli/pyoxidizer.bzl
CHANGE DETAILS
diff --git a/rust/hgcli/pyoxidizer.bzl b/rust/hgcli/pyoxidizer.bzl
--- a/rust/hgcli/pyoxidizer.bzl
+++ b/rust/hgcli/pyoxidizer.bzl
@@ -35,7 +35,12 @@
IS_WINDOWS = "windows" in BUILD_TARGET_TRIPLE
# Code to run in Python interpreter.
-RUN_CODE = "import hgdemandimport; hgdemandimport.enable(); from mercurial import dispatch; dispatch.run()"
+RUN_CODE = """
+import hgdemandimport;
+hgdemandimport.enable();
+from mercurial import dispatch;
+dispatch.run();
+"""
set_build_path(ROOT + "/build/pyoxidizer")
To: marmoute, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210818/9d653b9f/attachment-0002.html>
More information about the Mercurial-patches
mailing list