# HG changeset patch # User Pierre-Yves David # Date 2021-08-18 14:02:46 # Node ID 5f2b0d34f24dab1a339784607012178c7d3fd846 # Parent 8843de648aed84b3be824ade5d90ee625e8ba6d0 pyoxidizer: wrap the pyoxidizer script on multiple line This is clearer and will help with future edition of the script. Differential Revision: https://phab.mercurial-scm.org/D11300 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 @@ TIME_STAMP_SERVER_URL = VARS.get("TIME_S 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")