You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Alexis Huxley <ah...@gmx.net> on 2002/04/27 13:43:03 UTC
Re: update output idea - some more options
> > I'll add that we do plan to have --silent option at some point too,
> > don't we?
>
> Oh, we have it now. `svn whatever > /dev/null' :-)
Some other options to consider:
cat > ~/.svnrc <<EOF
--silent
EOF
svn whatever ...
or
export SVN=--silent
svn whatever ...
or
Instead of 'svn whatever > /dev/null' - how about instead
'svn whatever 2> /dev/null'?
That last option would be my choice; (a) it leaves stdout untainted and
the output therefore more script friendly while not deviating from
'philosophy' in the area scripts are generally interested in
(stdout) and (b) it requires no app-specific ways of shutting it up
(as do the first two suggestions above).
On further consideration, I agree that adherence to 'silence is
golden' would be an inconsistency sufficiently big to be a bad move.
But if it can take a step in that direction at no expense to users
(rather than scripts) then it makes SVN more integratable into scripts
and increases its possibilities, doesn't it?
Alexis
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org