Mercurial > hg
view rust/rhg/Cargo.toml @ 47877:2174f54aab18
store: return just one filename in walk functions
Various walk functions return `(revlog_type, decoded, encoded)` where
decoded could be None. But no-one cares about `encoded` and expects
`unencoded` to be present, except verify (because this can only happen
with old repo formats).
Simplify all this by either failing outright if a decoding a filename
fails (instead of almost certainly failing with a type error due to
treating None as a bytes), or skipping the filename but providing in
an out argument for hg verify.
Differential Revision: https://phab.mercurial-scm.org/D11248
author | Valentin Gatien-Baron <valentin.gatienbaron@gmail.com> |
---|---|
date | Mon, 02 Aug 2021 08:05:13 -0400 |
parents | ebdef6283798 |
children | d3ec82016104 |
line wrap: on
line source
[package] name = "rhg" version = "0.1.0" authors = [ "Antoine Cezar <antoine.cezar@octobus.net>", "Raphaël Gomès <raphael.gomes@octobus.net>", ] edition = "2018" [dependencies] hg-core = { path = "../hg-core"} chrono = "0.4.19" clap = "2.33.1" derive_more = "0.99" home = "0.5.3" lazy_static = "1.4.0" log = "0.4.11" micro-timer = "0.3.1" regex = "1.3.9" env_logger = "0.7.1" format-bytes = "0.2.1" users = "0.11.0"