This is an archive of the discontinued Mercurial Phabricator instance.

procutil: allow to specify arbitrary stdin bytes to runbgcommand
ClosedPublic

Authored by marmoute on Oct 14 2020, 7:34 PM.

Details

Summary

For automatic clonebundles generation I need to pass arbitrary large amount of
data to the process (eg: common nodes, target nodes).

I am updating the runbgcommand to allow for this. Previously not stdin input
was possible, now, one can provide raw bytes and they will be feed to the
command through an unnamed temporary files.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Oct 14 2020, 7:34 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.