##// END OF EJS Templates
rhg: use `Command::exec` instead of `Command::status`...
rhg: use `Command::exec` instead of `Command::status` `rhg` is supposed to be a transparent executable, using a subprocess defeats that purpose. See inline comments for more details. This also introduces the `which` crate to check if the fallback executable actually exists to help debugging (plain `execve` doesn't give much information). The error code 253 is used to signify that the fallback is not found, but may mean in the future that it is otherwise invalid if we start being more specific. Differential Revision: https://phab.mercurial-scm.org/D12578

File last commit:

r46277:57b5452a default
r50041:2b1d4e0b stable
Show More
Cargo.toml
28 lines | 819 B | text/plain | TOMLLexer
Gregory Szorc
hgcli: add stub PyOxidizer project...
r45128 [package]
name = "hgcli"
version = "0.1.0"
build = "build.rs"
authors = ["Gregory Szorc <gregory.szorc@gmail.com>"]
edition = "2018"
Gregory Szorc
hgcli: customize for Mercurial...
r45129 license = "GPL-2.0"
readme = "README.md"
Gregory Szorc
hgcli: add stub PyOxidizer project...
r45128
Gregory Szorc
hgcli: customize for Mercurial...
r45129 [[bin]]
name = "hg"
path = "src/main.rs"
Gregory Szorc
hgcli: add stub PyOxidizer project...
r45128
[dependencies]
jemallocator-global = { version = "0.3", optional = true }
Gregory Szorc
pyoxidizer: produce working Python 3 Windows installers (issue6366)...
r46277
[dependencies.pyembed]
git = "https://github.com/indygreg/PyOxidizer.git"
rev = "4697fb25918dfad6dc73288daeea501063963a08"
default-features = false
Gregory Szorc
hgcli: add stub PyOxidizer project...
r45128
[features]
default = ["build-mode-pyoxidizer-exe"]
jemalloc = ["jemallocator-global", "pyembed/jemalloc"]
build-mode-pyoxidizer-exe = ["pyembed/build-mode-pyoxidizer-exe"]
build-mode-prebuilt-artifacts = ["pyembed/build-mode-prebuilt-artifacts"]
cpython-link-unresolved-static = ["pyembed/cpython-link-unresolved-static"]
cpython-link-default = ["pyembed/cpython-link-default"]