comparison rust/rhg/Cargo.toml @ 47404:ebdef6283798

rhg: read [paths] for `--repository` value hg parses `-R` and `--repository` CLI arguments "early" in order to know which local repository to load config from. (Config can then affect whether or how to fall back.) The value of of those arguments can be not only a filesystem path, but also an alias configured in the `[paths]` section. This part was missing in rhg and this patch implements that. The current patch still lacks functionality to read config of current repository if we are not at root of repo. That will be fixed in upcoming patches. A new crate `home` is added to get path of home directory. Differential Revision: https://phab.mercurial-scm.org/D10296
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 11 Apr 2021 00:50:10 +0530
parents 1bac7764ceef
children d3ec82016104
comparison
equal deleted inserted replaced
47403:8a6e6b62b9a3 47404:ebdef6283798
10 [dependencies] 10 [dependencies]
11 hg-core = { path = "../hg-core"} 11 hg-core = { path = "../hg-core"}
12 chrono = "0.4.19" 12 chrono = "0.4.19"
13 clap = "2.33.1" 13 clap = "2.33.1"
14 derive_more = "0.99" 14 derive_more = "0.99"
15 home = "0.5.3"
15 lazy_static = "1.4.0" 16 lazy_static = "1.4.0"
16 log = "0.4.11" 17 log = "0.4.11"
17 micro-timer = "0.3.1" 18 micro-timer = "0.3.1"
18 regex = "1.3.9" 19 regex = "1.3.9"
19 env_logger = "0.7.1" 20 env_logger = "0.7.1"