[gurtle] r224 committed - (Fixes issue #44) : COM error after commit...

1 view
Skip to first unread message

codesite...@google.com

unread,
Oct 14, 2009, 2:20:20 PM10/14/09
to gurtle-...@googlegroups.com
Revision: 224
Author: tortoisesvn
Date: Wed Oct 14 11:19:14 2009
Log: (Fixes issue #44) : COM error after commit
Don't throw an exception if the project name is not known, just do nothing.
http://code.google.com/p/gurtle/source/detail?r=224

Modified:
/trunk/src/Gurtle/Plugin.cs

=======================================
--- /trunk/src/Gurtle/Plugin.cs Sat Sep 19 09:49:13 2009
+++ /trunk/src/Gurtle/Plugin.cs Wed Oct 14 11:19:14 2009
@@ -179,7 +179,7 @@
private static void OnCommitFinished(IWin32Window parentWindow,
int revision, GoogleCodeProject project, ICollection<Issue> issues)
{
if (project == null)
- throw new InvalidOperationException();
+ return;

if (issues == null || issues.Count == 0)
return;

Reply all
Reply to author
Forward
0 new messages