[gurtle] r234 committed - Only show the issue update dialog after a commit if the environment va...

1 view
Skip to first unread message

gur...@googlecode.com

unread,
Apr 11, 2010, 4:52:45 AM4/11/10
to gurtle-...@googlegroups.com
Revision: 234
Author: tortoisesvn
Date: Sun Apr 11 01:48:36 2010
Log: Only show the issue update dialog after a commit if the environment
variable is set.
http://code.google.com/p/gurtle/source/detail?r=234

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

=======================================
--- /trunk/src/Gurtle/Plugin.cs Sun Apr 11 01:34:52 2010
+++ /trunk/src/Gurtle/Plugin.cs Sun Apr 11 01:48:36 2010
@@ -199,6 +199,11 @@
if (issues == null || issues.Count == 0)
return;

+ // don't bother users with the issue update dialog if the
+ // env variable is not set.
+ if
(string.IsNullOrEmpty(Environment.GetEnvironmentVariable("GURTLE_ISSUE_UPDATE_CMD")))
+ return;
+
var settings = Properties.Settings.Default;

var updates = issues.Select(e => new IssueUpdate(e)

Reply all
Reply to author
Forward
0 new messages