mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
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:
parent
4578755d8b
commit
24526e8396
@ -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,
|
||||
};
|
||||
|
@ -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),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user