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

Re: SubWCRev outputs unwanted messages

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 7 Aug 2017 20:53:52 +0200

On 05.08.2017 09:04, Tobias Knauss wrote:
> 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.

Fixed in r27905.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3282430
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2017-08-07 20:54:12 CEST

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