Patchwork D9342: pyoxidizer: run buildifier

login
register
mail settings
Submitter phabricator
Date Nov. 19, 2020, 7:56 p.m.
Message ID <differential-rev-PHID-DREV-hznjvygx2kyq3f2ujjut-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47619/
State Superseded
Headers show

Comments

phabricator - Nov. 19, 2020, 7:56 p.m.
durin42 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9342

AFFECTED FILES
  rust/hgcli/pyoxidizer.bzl

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/rust/hgcli/pyoxidizer.bzl b/rust/hgcli/pyoxidizer.bzl
--- a/rust/hgcli/pyoxidizer.bzl
+++ b/rust/hgcli/pyoxidizer.bzl
@@ -17,6 +17,7 @@ 
     if not IS_WINDOWS:
         resource.add_location = "in-memory"
         return
+
     # We use a custom resource routing policy to influence where things are loaded
     # from.
     #
@@ -39,6 +40,7 @@ 
 def make_exe(dist):
     """Builds a Rust-wrapped Mercurial binary."""
     packaging_policy = dist.make_python_packaging_policy()
+
     # Extension may depend on any Python functionality. Include all
     # extensions.
     packaging_policy.extension_module_filter = "all"
@@ -50,8 +52,10 @@ 
     config = dist.make_python_interpreter_config()
     config.raw_allocator = "system"
     config.run_command = RUN_CODE
+
     # We want to let the user load extensions from the file system
     config.filesystem_importer = True
+
     # We need this to make resourceutil happy, since it looks for sys.frozen.
     config.sys_frozen = True
     config.legacy_windows_stdio = True