rust/rhg/src/blackbox.rs
changeset 52760 94e2547e6f3d
parent 50763 58aa5ee9c846
equal deleted inserted replaced
52759:36d39726c0af 52760:94e2547e6f3d
     2 
     2 
     3 use crate::CliInvocation;
     3 use crate::CliInvocation;
     4 use format_bytes::format_bytes;
     4 use format_bytes::format_bytes;
     5 use hg::errors::HgError;
     5 use hg::errors::HgError;
     6 use hg::repo::Repo;
     6 use hg::repo::Repo;
     7 use hg::utils::{files::get_bytes_from_os_str, shell_quote};
     7 use hg::utils::{files::get_bytes_from_os_str, strings::shell_quote};
     8 use std::ffi::OsString;
     8 use std::ffi::OsString;
     9 
     9 
    10 // Python does not support %.3f, only %f
    10 // Python does not support %.3f, only %f
    11 const DEFAULT_DATE_FORMAT: &str = "%Y-%m-%d %H:%M:%S%.3f";
    11 const DEFAULT_DATE_FORMAT: &str = "%Y-%m-%d %H:%M:%S%.3f";
    12 
    12