##// 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:

r45503:cf04f62d default
r50041:2b1d4e0b stable
Show More
Cargo.toml
3 lines | 82 B | text/plain | TOMLLexer
Gregory Szorc
rust: implementation of `hg`...
r35587 [workspace]
Antoine Cezar
rhg: add rhg crate...
r45503 members = ["hg-core", "hg-cpython", "rhg"]
Gregory Szorc
hgcli: add stub PyOxidizer project...
r45128 exclude = ["chg", "hgcli"]