comparison rust/hg-core/src/lib.rs @ 45364:5fe25f8ef5d9

rhg: add a `Files` `Command` to prepare the `rhg files` subcommand Differential Revision: https://phab.mercurial-scm.org/D8868
author Antoine Cezar <antoine.cezar@octobus.net>
date Wed, 29 Jul 2020 10:21:17 +0200
parents a46e36b82461
children a2eda1ff22aa
comparison
equal deleted inserted replaced
45363:5dbf875b3275 45364:5fe25f8ef5d9
55 55
56 #[derive(Clone, Debug, PartialEq)] 56 #[derive(Clone, Debug, PartialEq)]
57 pub enum DirstateParseError { 57 pub enum DirstateParseError {
58 TooLittleData, 58 TooLittleData,
59 Overflow, 59 Overflow,
60 // TODO refactor to use bytes instead of String
60 CorruptedEntry(String), 61 CorruptedEntry(String),
61 Damaged, 62 Damaged,
62 } 63 }
63 64
64 impl From<std::io::Error> for DirstateParseError { 65 impl From<std::io::Error> for DirstateParseError {