repo: fix typo

This commit is contained in:
Hylke Bons 2012-11-23 10:08:50 +00:00
parent 63fde5a7d9
commit f5463f98ba
3 changed files with 5 additions and 5 deletions

View file

@ -670,9 +670,9 @@ namespace SparkleLib.Git {
Error = ErrorStatus.AuthenticationFailed;
} 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;
}

View file

@ -37,7 +37,7 @@ namespace SparkleLib {
HostUnreachable,
HostIdentityChanged,
AuthenticationFailed,
DiskSpaceExcedeed,
DiskSpaceExceeded,
LockedFiles,
NotFound
}

View file

@ -270,14 +270,14 @@ namespace SparkleShare {
} else if (repo.Error == ErrorStatus.AuthenticationFailed) {
FolderErrors [i] = "Authentication failed";
} else if (repo.Error == ErrorStatus.DiskSpaceExcedeed) {
} else if (repo.Error == ErrorStatus.DiskSpaceExceeded) {
FolderErrors [i] = "Host is out of disk space";
} else if (repo.Error == ErrorStatus.LockedFiles) {
FolderErrors [i] = "Some local files are locked or in use";
} else if (repo.Error == ErrorStatus.NotFound) {
FolderErrors [i] = "No such project found";
FolderErrors [i] = "Project doesn't exist on host";
} else {
FolderErrors [i] = "";