RE: SVNAdmin Verify sends output to stderr
From: <blackhole_at_reality.earth.sol.mway.universe.net>
Date: Tue, 3 Feb 2009 08:27:53 -0800 (PST)
ran into this today myself and noticed your post and an almost identical one a few years back, both without replies.
i have begun dealing with it by folding stderr into the same stream as stdout: msh supports the same hacky syntax that unix shells use: 2>&1 (i guess 2> means redirect stderr and &1 is magic which means stdout).
this has led to messiness in the output stream, well intended, no doubt. :)
e.g. "* Revision 0 verifiziert." expands to:
svnadmin.exe : * Revision 0 verifiziert.
but presumably there is magic to deal with this as well. (perhaps it is a side-effect of stderr and stdout being object (rather than character) streams in powershell, and the moment i stringify them naively i get "useful stuff" i might otherwise lose.
cheers,
Tim
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.