Browse Source

Don't crash when opening a file while an SVN operation is in progress.

http://community.sharpdevelop.net/forums/t/15766.aspx
4.2
Daniel Grunwald 13 years ago
parent
commit
67e61d9c02
  1. 7
      src/AddIns/VersionControl/SubversionAddIn/Src/Gui/ProjectBrowserVisitor/OverlayIconManager.cs

7
src/AddIns/VersionControl/SubversionAddIn/Src/Gui/ProjectBrowserVisitor/OverlayIconManager.cs

@ -192,7 +192,12 @@ namespace ICSharpCode.Svn @@ -192,7 +192,12 @@ namespace ICSharpCode.Svn
}
}
return client.SingleStatus(fileName).TextStatus;
try {
return client.SingleStatus(fileName).TextStatus;
} catch (SvnClientException ex) {
LoggingService.Warn(ex);
return StatusKind.None;
}
}
}

Loading…
Cancel
Save