Modified:
/trunk/src/Gurtle/Plugin.cs
/trunk/src/Gurtle.sln
=======================================
--- /trunk/src/Gurtle/Plugin.cs Sun Apr 11 00:56:37 2010
+++ /trunk/src/Gurtle/Plugin.cs Sun Apr 11 01:34:52 2010
@@ -144,6 +144,17 @@
out string[] revPropNames, out string[] revPropValues)
{
bugIDOut = bugID;
+
+ Parameters p = Parameters.Parse(parameters);
+ if (p.Project.Length == 0)
+ {
+ // we can extract the project name from the url, e.g.:
+ // https://gurtle.googlecode.com/svn/trunk
+ // the project name is the first part of the domain
+ Uri url = new Uri(commonURL);
+ string projectName = url.Host.Substring(0,
url.Host.IndexOf('.'));
+ parameters += " project=" + projectName;
+ }
// If no revision properties are to be set,
// the plug-in MUST return empty arrays.
=======================================
--- /trunk/src/Gurtle.sln Sun Apr 11 00:56:37 2010
+++ /trunk/src/Gurtle.sln Sun Apr 11 01:34:52 2010
@@ -7,7 +7,6 @@
..\COPYING.txt = ..\COPYING.txt
Setup\MergeModule.wxs = Setup\MergeModule.wxs
Setup\Setup.wxs = Setup\Setup.wxs
- TestGurtle.cmd = TestGurtle.cmd
TestGurtle.py = TestGurtle.py
EndProjectSection
EndProject