mononoke/repo_client: fix typo

Summary: Fix spelling of Inconsistent

Reviewed By: StanislavGlebik

Differential Revision: D9357204

fbshipit-source-id: 4cc5d8d99c28dce9b25f0d334e1820709b3ccc4c
This commit is contained in:
Jeremy Fitzhardinge 2018-08-16 10:23:40 -07:00 committed by Facebook Github Bot
parent 4578755d8b
commit 24526e8396
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ fn get_file_history(
let copy = match copy {
Some((RepoPath::FilePath(copyto), rev)) => Some((copyto, rev)),
Some((copyto, _)) => {
return Err(ErrorKind::InconsistenCopyInfo(filenode.path, copyto).into())
return Err(ErrorKind::InconsistentCopyInfo(filenode.path, copyto).into())
}
None => None,
};

View File

@ -11,5 +11,5 @@ use mercurial_types::RepoPath;
#[derive(Debug, Fail)]
pub enum ErrorKind {
#[fail(display = "internal error: file {} copied from directory {}", _0, _1)]
InconsistenCopyInfo(RepoPath, RepoPath),
InconsistentCopyInfo(RepoPath, RepoPath),
}