Mercurial > public > mercurial-scm > hg
diff rust/rhg/src/commands/debugdata.rs @ 52178:bd8081e9fd62
rust: don't star export from the `revlog` module
This made a lot of the imports confusing because they didn't make sense
at the top level (so, outside of `revlog`), and they hide the more common
types when autocompleting.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Thu, 26 Sep 2024 14:26:24 +0200 |
parents | 69b804c8e09e |
children | 393ad2685fb4 |
line wrap: on
line diff
--- a/rust/rhg/src/commands/debugdata.rs Thu Aug 01 11:27:20 2024 +0200 +++ b/rust/rhg/src/commands/debugdata.rs Thu Sep 26 14:26:24 2024 +0200 @@ -2,7 +2,7 @@ use clap::Arg; use clap::ArgGroup; use hg::operations::debug_data; -use hg::RevlogType; +use hg::revlog::RevlogType; pub const HELP_TEXT: &str = " Dump the contents of a data file revision