[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SubWCRev outputs unwanted messages

From: Tobias Knauss <tobias.knauss_at_web.de>
Date: Sat, 5 Aug 2017 09:04:40 +0200

I run SubWCRev from VS2015 via a powershell script:

Write-Host "executing '$sPathEXE' with arguments '$sPathRepo, $sSource, $sTarget'"
$oProcessA = Start-Process -FilePath $sPathEXE -ArgumentList @($sPathRepo, $sSource, $sTarget) -PassThru -Wait -NoNewWindow -EA Stop Write-Host $oProcessA.ExitCode if ($oProcessA.ExitCode -ne 0)
{
   Write-Host "execution at $sPathRepo failed with error code $($oProcessA.ExitCode)"
   ...
}
...
Write-Host "execution successful"

After updating to TSVN 1.9.6, it prints an "S" and some spaces to the log at every execution instead of the exit code:

8> executing 'C:\Program Files\TortoiseSVN\bin\SubWCRev.exe' with arguments 'D:\sw_development\swcore\trunk\io\, D:\sw_development\swcore\trunk\_common\svn-version-assembly.template.cs, D:\sw_development\swcore\trunk\io\svn-version-assembly.cs'
8> S executing 'C:\Program Files\TortoiseSVN\bin\SubWCRev.exe' with arguments 'D:\sw_development\swcore\trunk\, D:\sw_development\swcore\trunk\_common\svn-version-repository.template.cs, D:\sw_development\swcore\trunk\winforms\svn-version-repository.cs'
7> S S S executing 'C:\Program Files\TortoiseSVN\bin\SubWCRev.exe' with arguments 'D:\sw_development\swcore\trunk\, D:\sw_development\swcore\trunk\_common\svn-version-repository.template.cs, D:\sw_development\swcore\trunk\io\svn-version-repository.cs'
8> S execution successful

Don’t know where that comes from, however it still works because the exit code actually is still zero.
The spaces seem to come one by one, because they also appear between other log messages when projects are compiled in parallel.
Please remove "S" and the spaces again.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3281009

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-08-05 09:04:51 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.