Re: How should we include extra modules in a pyoxidized Mercurial?

2020-06-17 Thread Gregory Szorc
Yeah, you'll want a pyoxidizer.bzl that installs hg and other stuff. Using PythonDistribution.pip_install() ( https://pyoxidizer.readthedocs.io/en/stable/config_api.html#pythondistribution-pip-install-args-extra-envs) with arguments to process a requirements.txt file is likely how I'd do it. Sadly

D8639: py3: fix broken man page generation, it was generating `(default: NUL*)`

2020-06-17 Thread spectral (Kyle Lippincott)
spectral created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY `bytes(default)` was producing things like `(default: \x00)` when handed non-bytes values such as `1`, `10`, or `True`. The man page generation would apparent

How should we include extra modules in a pyoxidized Mercurial?

2020-06-17 Thread Augie Fackler
We're working on a PyOxidizer Mercurial for our users, and we want to bake some extra stuff beyond just hg (evolve, some in-house stuff) into the binary. Should we be making our own pyoxidizer.bzl that installs hg and whatever else we need? Is there a way we could reuse the bits in the existing

D8374: fuzz: tell manifest fuzzer about longer node hashes

2020-06-17 Thread durin42 (Augie Fackler)
Closed by commit rHG9bedcfb4bb0e: fuzz: tell manifest fuzzer about longer node hashes (authored by durin42). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Revision". REPOSITORY rHG Mercurial C

Re: [PATCH 2 of 6] py3: pass native string to urlreq.url2pathname()

2020-06-17 Thread Manuel Jacob
On 2020-06-17 13:26, Yuya Nishihara wrote: On Wed, 17 Jun 2020 03:51:29 +0200, Manuel Jacob wrote: In the following situation, the behavior is problematic: - We’re on Python 3. - The URL path contains a percent-encoded valid UTF-8 byte sequence. urlreq.url2pathname()’s return value is unicode a

D8374: fuzz: tell manifest fuzzer about longer node hashes

2020-06-17 Thread durin42 (Augie Fackler)
durin42 added a comment. This is still valid. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8374/new/ REVISION DETAIL https://phab.mercurial-scm.org/D8374 To: durin42, #hg-reviewers, Alphare Cc: mercurial-patches, pulkit, Alphare, mercurial-devel _

D8638: tests: update output in test-chg.t as setprocname missing in pure build

2020-06-17 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY setprocname is not present when we build a pure version. This leads to output changes in test-chg.t This should make test suite green on Python 2 pure build

Re: [PATCH 1 of 3] absorb: preserve branch-changing changesets even if empty

2020-06-17 Thread Yuya Nishihara
On Tue, 16 Jun 2020 15:58:12 +0200, Manuel Jacob wrote: > # HG changeset patch > # User Manuel Jacob > # Date 1591000380 -7200 > # Mon Jun 01 10:33:00 2020 +0200 > # Node ID 658889a51a83ba348575179ec210bd7a40f79ff0 > # Parent ef8dcee272acbe22af5829e31c55b694f345ceba > # EXP-Topic absorb-empt

Re: [PATCH 2 of 6] py3: pass native string to urlreq.url2pathname()

2020-06-17 Thread Yuya Nishihara
On Wed, 17 Jun 2020 03:51:29 +0200, Manuel Jacob wrote: > In the following situation, the behavior is problematic: > > - We’re on Python 3. > - The URL path contains a percent-encoded valid UTF-8 byte sequence. > urlreq.url2pathname()’s return value is unicode and will contain the > correspondin