Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-core/src/logging.rs @ 47980:9cd35c8c6044
rust: Move VFS code to its own module
It was previously in the hg::repo module, but both repo code and vfs
will likely grow in the future.
Differential Revision: https://phab.mercurial-scm.org/D11394
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Mon, 06 Sep 2021 11:39:59 +0200 |
parents | 1f55cd5b292f |
children | db7dbe6f7bb2 |
line wrap: on
line diff
--- a/rust/hg-core/src/logging.rs Fri Sep 03 16:32:35 2021 +0200 +++ b/rust/hg-core/src/logging.rs Mon Sep 06 11:39:59 2021 +0200 @@ -1,5 +1,5 @@ use crate::errors::{HgError, HgResultExt, IoErrorContext, IoResultExt}; -use crate::repo::Vfs; +use crate::vfs::Vfs; use std::io::Write; /// An utility to append to a log file with the given name, and optionally