[Updated] D11300: pyoxidizer: wrap the pyoxidizer script on multiple line
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Thu Aug 19 01:20:31 UTC 2021
Closed by commit rHG5f2b0d34f24d: pyoxidizer: wrap the pyoxidizer script on multiple line (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11300?vs=29929&id=29952
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/20210819/dc3f0f08/attachment-0002.html>
More information about the Mercurial-patches
mailing list