Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorTherzok <teromario@yahoo.com>2013-08-08 19:34:06 +0400
committerTherzok <teromario@yahoo.com>2013-08-08 19:34:06 +0400
commit9fd9b9a01ceaba54fb8e2dc4b496e5e380bd9d95 (patch)
tree85c4ba3198d4e394fc600a9cbe4dbc6dd63b2497 /extras
parenta359f3d19104ca790575c5ae93b7e0a7e84e1bd2 (diff)
[Version Control] Attempt at fixing more false positives with Subversion.
Diffstat (limited to 'extras')
-rw-r--r--extras/VersionControl.Subversion.Win32/VersionControl.Subversion.Win32/SvnSharpClient.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/extras/VersionControl.Subversion.Win32/VersionControl.Subversion.Win32/SvnSharpClient.cs b/extras/VersionControl.Subversion.Win32/VersionControl.Subversion.Win32/SvnSharpClient.cs
index d1d52bba6b..2867f5b85d 100644
--- a/extras/VersionControl.Subversion.Win32/VersionControl.Subversion.Win32/SvnSharpClient.cs
+++ b/extras/VersionControl.Subversion.Win32/VersionControl.Subversion.Win32/SvnSharpClient.cs
@@ -64,8 +64,11 @@ namespace SubversionAddinWindows
wc_path = client.GetWorkingCopyRoot (path.FullPath);
return wc_path;
} catch (SvnException e) {
- if (e.SvnErrorCode == SvnErrorCode.SVN_ERR_WC_NOT_DIRECTORY)
+ switch (e.SvnErrorCode) {
+ case SvnErrorCode.SVN_ERR_WC_NOT_WORKING_COPY:
+ case SvnErrorCode.SVN_ERR_WC_NOT_FILE:
return "";
+ }
throw;
}
}