Mercurial > hg
view rust/rhg/src/main.rs @ 45049:513b3ef277a3
rhg: add RootCommand using hg-core FindRoot operation to prepare `hg root`
The println macro is not used to avoid string usage.
Dealing only with bytes allows us to be compatible with any encoding
and not just UTF8.
Later on, format macro will be made to have more readable code.
Differential Revision: https://phab.mercurial-scm.org/D8612
author | Antoine Cezar <antoine.cezar@octobus.net> |
---|---|
date | Fri, 05 Jun 2020 09:01:35 +0200 |
parents | bacf6c7ef01b |
children | 18f8d3b31baa |
line wrap: on
line source
mod commands; mod error; mod exitcode; mod ui; fn main() { std::process::exit(exitcode::UNIMPLEMENTED_COMMAND) }