rhg: add a limited `rhg root` subcommand
Clap has been choosen for argument parsing for the following reasons:
- it's a wildly used and maintained crate
- it can deal with OS encoding making it suitable for any encoding
- it supports nonambiguous prefix matching as already available in hg
- it will soon allow for structopts-style declarative pattern instead of the
currently used builder pattern
Differential Revision: https://phab.mercurial-scm.org/D8613
[package]
name = "rhg"
version = "0.1.0"
authors = ["Antoine Cezar <antoine.cezar@octobus.net>"]
edition = "2018"
[dependencies]
hg-core = { path = "../hg-core"}
clap = "2.33.1"