I would like to avoid avoid a file on disk when applying a patch with mercurial
./script_gen_diff > diff && hg import diff && rm diff
./script_gen_diff | hg import
There's no such option in the doc
RLLY?! I can read
hg help import and discover
hg import [OPTION]... PATCH ...
To read a patch from standard input, use "-" as the patch name. If a URL is specified, the patch will be downloaded from there.