rust/rhg/src/main.rs
changeset 52760 94e2547e6f3d
parent 52756 bbf1c52252ae
child 52767 6183949219b2
equal deleted inserted replaced
52759:36d39726c0af 52760:94e2547e6f3d
     4 use clap::{command, Arg, ArgMatches};
     4 use clap::{command, Arg, ArgMatches};
     5 use format_bytes::{format_bytes, join};
     5 use format_bytes::{format_bytes, join};
     6 use hg::config::{Config, ConfigSource, PlainInfo};
     6 use hg::config::{Config, ConfigSource, PlainInfo};
     7 use hg::repo::{Repo, RepoError};
     7 use hg::repo::{Repo, RepoError};
     8 use hg::utils::files::{get_bytes_from_os_str, get_path_from_bytes};
     8 use hg::utils::files::{get_bytes_from_os_str, get_path_from_bytes};
     9 use hg::utils::SliceExt;
     9 use hg::utils::strings::SliceExt;
    10 use hg::{exit_codes, requirements};
    10 use hg::{exit_codes, requirements};
    11 use std::borrow::Cow;
    11 use std::borrow::Cow;
    12 use std::collections::{HashMap, HashSet};
    12 use std::collections::{HashMap, HashSet};
    13 use std::ffi::OsString;
    13 use std::ffi::OsString;
    14 use std::os::unix::prelude::CommandExt;
    14 use std::os::unix::prelude::CommandExt;