comparison rust/hg-core/src/operations/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 039b7caeb4d9
children a3fa37bdb7ec
comparison
equal deleted inserted replaced
52177:3d797007905d 52178:bd8081e9fd62
4 // 4 //
5 // This software may be used and distributed according to the terms of the 5 // This software may be used and distributed according to the terms of the
6 // GNU General Public License version 2 or any later version. 6 // GNU General Public License version 2 or any later version.
7 7
8 use crate::errors::HgError; 8 use crate::errors::HgError;
9 use crate::exit_codes;
9 use crate::repo::Repo; 10 use crate::repo::Repo;
10 use crate::revlog::options::default_revlog_options; 11 use crate::revlog::options::default_revlog_options;
11 use crate::revlog::Revlog; 12 use crate::revlog::{Revlog, RevlogError, RevlogType};
12 use crate::{exit_codes, RevlogError, RevlogType};
13 13
14 /// Dump the contents data of a revision. 14 /// Dump the contents data of a revision.
15 pub fn debug_data( 15 pub fn debug_data(
16 repo: &Repo, 16 repo: &Repo,
17 revset: &str, 17 revset: &str,