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

Re: [GSOC]Show progress output

From: Matthew Woehlke <mw_triad_at_users.sourceforge.net>
Date: Fri, 27 Mar 2009 13:55:43 -0500

Hao Zhang wrote:
> 2009/3/27 Stefan Sperling wrote:
>> If we don't have the eye candy on by default, most people won't see
>> it, because they either won't know that it exists or won't be bothered
>> to enable it. So why add it in the first place? Hao Zhang might as
>> well spend his time on something more worthwhile in this case.
>
> Stefan, I agree with you on the default show of the progress indicator
> following by a switch to deactivate it, which I have thought oppositely in
> my sketch design . I don't know whether there is a way to avoid the impact
> on scripts. But, if there isn't any, I will prefer to consider CLI user
> first.

Please excuse the guy that just showed up with a build error butting in,
but am I missing something?

if (option value is auto or unspecified)
   if (isatty())
     progress indicator to on
   else
     progress indicator to off
else if (option value is on)
   progress indicator on
else
   progress indicator off

Won't this achieve a: many or most CLI users will see it, and b: 99.9%
of scripts will be unaffected?

(/I/ won't see it without adding the switch, but that's because 'svn'
for me is a script that re-execs the 'real' svn through a colorizing
filter :-).)

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
"In the beginning was the word, and the word was
content-type: text/plain" -- Martin Schulze
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1447318
Received on 2009-03-28 11:56:58 CET

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.