[synchronicity-commits] SF.net SVN: synchronicity:[1542] trunk/Create Synchronicity
Easy, fast, and lightweight backup and synchronization app for Windows
Brought to you by:
createsoftware
From: <cre...@us...> - 2011-12-14 22:31:22
|
Revision: 1542 http://synchronicity.svn.sourceforge.net/synchronicity/?rev=1542&view=rev Author: createsoftware Date: 2011-12-14 22:31:16 +0000 (Wed, 14 Dec 2011) Log Message: ----------- One more change to the post-sync syntax: the script now also receives the number of errors that were encountered, as its third parameter. Modified Paths: -------------- trunk/Create Synchronicity/Interface/SynchronizeForm.vb trunk/Create Synchronicity/Revision.vb Modified: trunk/Create Synchronicity/Interface/SynchronizeForm.vb =================================================================== --- trunk/Create Synchronicity/Interface/SynchronizeForm.vb 2011-12-14 15:41:07 UTC (rev 1541) +++ trunk/Create Synchronicity/Interface/SynchronizeForm.vb 2011-12-14 22:31:16 UTC (rev 1542) @@ -434,7 +434,7 @@ If ProgramConfig.GetProgramSetting(Of Boolean)(ProgramSetting.ExpertMode, False) AndAlso PostSyncAction IsNot Nothing Then Try Interaction.ShowBalloonTip(String.Format(Translation.Translate("\POST_SYNC"), PostSyncAction)) - Diagnostics.Process.Start(PostSyncAction, String.Format("""{0}"" ""{1}"" ""{2}"" ""{3}"" ""{4}""", Handler.ProfileName, Not (Status.Cancel Or Status.Failed), LeftRootPath, RightRootPath, Handler.ErrorsLogPath)) + Diagnostics.Process.Start(PostSyncAction, String.Format("""{0}"" ""{1}"" ""{2}"" ""{3}"" ""{4}"" ""{5}""", Handler.ProfileName, Not (Status.Cancel Or Status.Failed), Log.Errors.Count, LeftRootPath, RightRootPath, Handler.ErrorsLogPath)) Catch Ex As Exception Interaction.ShowBalloonTip(Translation.Translate("\POSTSYNC_FAILED")) ProgramConfig.LogAppEvent(Ex.ToString) Modified: trunk/Create Synchronicity/Revision.vb =================================================================== --- trunk/Create Synchronicity/Revision.vb 2011-12-14 15:41:07 UTC (rev 1541) +++ trunk/Create Synchronicity/Revision.vb 2011-12-14 22:31:16 UTC (rev 1542) @@ -1,3 +1,3 @@ Module Revision - Public Const Build As Integer = 1540 + Public Const Build As Integer = 1541 End Module This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |