Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
52177:3d797007905d | 52178:bd8081e9fd62 |
---|---|
1 use crate::error::CommandError; | 1 use crate::error::CommandError; |
2 use clap::Arg; | 2 use clap::Arg; |
3 use clap::ArgGroup; | 3 use clap::ArgGroup; |
4 use hg::operations::debug_data; | 4 use hg::operations::debug_data; |
5 use hg::RevlogType; | 5 use hg::revlog::RevlogType; |
6 | 6 |
7 pub const HELP_TEXT: &str = " | 7 pub const HELP_TEXT: &str = " |
8 Dump the contents of a data file revision | 8 Dump the contents of a data file revision |
9 "; | 9 "; |
10 | 10 |