OSDN Git Service

Slight mod to version updating script
authorLatif Khalifa <latifer@streamgrid.net>
Sat, 6 Aug 2011 22:06:41 +0000 (22:06 +0000)
committerLatif Khalifa <latifer@streamgrid.net>
Sat, 6 Aug 2011 22:06:41 +0000 (22:06 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1069 f7a694da-4d33-11de-9ad6-1127a62b9fcd

Radegast/Core/Updater/ErrorReporter.cs
Radegast/RadegastBuild.cs
Radegast/updatebuildnr.bat

index 33810a2..c4632c5 100644 (file)
@@ -56,7 +56,10 @@ namespace Radegast
             report.AppendLine(ex.Message);
             report.AppendLine(ex.StackTrace);
             report.AppendLine();
-            AddStacktrace(ref report, ex.InnerException);
+            if (ex.InnerException != null && ex.InnerException != ex)
+            {
+                AddStacktrace(ref report, ex.InnerException);
+            }
         }
 
         public void SendExceptionReport(Exception ex)
index 8e90470..e179d4c 100644 (file)
@@ -1,5 +1,5 @@
 // Autogenerated: run updatebuildnr.bat/sh to update 
 namespace Radegast 
 { 
-    public static class RadegastBuild { public static int CurrentRev = 1060; } 
+    public static class RadegastBuild { public static int CurrentRev = 1068; } 
 } 
index 3bcfa43..a05f1d5 100755 (executable)
@@ -1,7 +1,7 @@
 @echo off\r
 FOR /F "tokens=2 skip=4" %%G IN ('svn info --revision HEAD') DO ^\r
 IF NOT DEFINED REVISION SET REVISION=%%G\r
-set /a REVISION=%REVISION% + 1\r
+rem set /a REVISION=%REVISION% + 1\r
 echo // Autogenerated: run updatebuildnr.bat/sh to update > RadegastBuild.cs\r
 echo namespace Radegast >> RadegastBuild.cs\r
 echo { >> RadegastBuild.cs\r