Re: svn commit: r1738021 - in /subversion/trunk: subversion/svnadmin/svnadmin.c subversion/tests/cmdline/svnadmin_tests.py tools/client-side/bash_completion
From: Evgeny Kotkov <evgeny.kotkov_at_visualsvn.com>
Date: Thu, 7 Apr 2016 13:31:30 +0300
Branko Čibej <brane_at_apache.org> writes:
> PowerShell fiddles with redirected stdout? That's ... scary!
It assumes that commands output text, and automatically splits the output
$out = svnadmin dump C:\Repositories\test
Redirection is implemented as pipelining the array of strings to the Out-File
In case you're interested, there's an in depth explanation available in [1].
I am not too sure about the "why" part, but maybe assuming everything as
[1] http://brianreiter.org/2010/01/29/powershells-object-pipeline-corrupts-piped-binary-data
Regards,
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.