repo: fix typo
This commit is contained in:
parent
63fde5a7d9
commit
f5463f98ba
|
@ -670,9 +670,9 @@ namespace SparkleLib.Git {
|
||||||
Error = ErrorStatus.AuthenticationFailed;
|
Error = ErrorStatus.AuthenticationFailed;
|
||||||
|
|
||||||
} else if (line.StartsWith ("error: Disk space exceeded")) {
|
} else if (line.StartsWith ("error: Disk space exceeded")) {
|
||||||
Error = ErrorStatus.DiskSpaceExcedeed;
|
Error = ErrorStatus.DiskSpaceExceeded;
|
||||||
|
|
||||||
} else if (line.EndsWithWith ("does not appear to be a git repository")) {
|
} else if (line.EndsWith ("does not appear to be a git repository")) {
|
||||||
Error = ErrorStatus.NotFound;
|
Error = ErrorStatus.NotFound;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ namespace SparkleLib {
|
||||||
HostUnreachable,
|
HostUnreachable,
|
||||||
HostIdentityChanged,
|
HostIdentityChanged,
|
||||||
AuthenticationFailed,
|
AuthenticationFailed,
|
||||||
DiskSpaceExcedeed,
|
DiskSpaceExceeded,
|
||||||
LockedFiles,
|
LockedFiles,
|
||||||
NotFound
|
NotFound
|
||||||
}
|
}
|
||||||
|
|
|
@ -270,14 +270,14 @@ namespace SparkleShare {
|
||||||
} else if (repo.Error == ErrorStatus.AuthenticationFailed) {
|
} else if (repo.Error == ErrorStatus.AuthenticationFailed) {
|
||||||
FolderErrors [i] = "Authentication failed";
|
FolderErrors [i] = "Authentication failed";
|
||||||
|
|
||||||
} else if (repo.Error == ErrorStatus.DiskSpaceExcedeed) {
|
} else if (repo.Error == ErrorStatus.DiskSpaceExceeded) {
|
||||||
FolderErrors [i] = "Host is out of disk space";
|
FolderErrors [i] = "Host is out of disk space";
|
||||||
|
|
||||||
} else if (repo.Error == ErrorStatus.LockedFiles) {
|
} else if (repo.Error == ErrorStatus.LockedFiles) {
|
||||||
FolderErrors [i] = "Some local files are locked or in use";
|
FolderErrors [i] = "Some local files are locked or in use";
|
||||||
|
|
||||||
} else if (repo.Error == ErrorStatus.NotFound) {
|
} else if (repo.Error == ErrorStatus.NotFound) {
|
||||||
FolderErrors [i] = "No such project found";
|
FolderErrors [i] = "Project doesn't exist on host";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
FolderErrors [i] = "";
|
FolderErrors [i] = "";
|
||||||
|
|
Loading…
Reference in a new issue