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-07-16 13:56:27 +0400
committerTherzok <teromario@yahoo.com>2013-07-16 13:56:27 +0400
commit79ab038b595d5eacee0e48a6679f4f0f3d7a262e (patch)
tree21e4c9d3cf9ca2a3920b471c1600e274431ce64f /extras
parent7b14725a3e6aac063d4ed380e9d588a309cd7638 (diff)
[Version Control] Fixup exception handling.
Diffstat (limited to 'extras')
-rw-r--r--extras/VersionControl.Subversion.Win32/VersionControl.Subversion.Win32/SvnSharpClient.cs4
1 files changed, 3 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 19e88621b9..00ded6c347 100644
--- a/extras/VersionControl.Subversion.Win32/VersionControl.Subversion.Win32/SvnSharpClient.cs
+++ b/extras/VersionControl.Subversion.Win32/VersionControl.Subversion.Win32/SvnSharpClient.cs
@@ -211,7 +211,9 @@ namespace SubversionAddinWindows
client.Write (new SvnUriTarget (target.Uri.AbsoluteUri + repositoryPath, GetRevision (revision)), ms);
} catch (SvnFileSystemException e) {
// File got added/deleted at some point.
- return "";
+ if (e.SubversionErrorCode == SvnErrorCode.SVN_ERR_FS_NOT_FOUND)
+ return "";
+ throw;
}
}
return TextFile.ReadFile (repositoryPath, ms).Text;