[RFC] [PATCH] configurable selection of progress indicator
David Allouche
david at allouche.net
Fri Dec 16 21:39:19 GMT 2005
On Thu, 2005-12-15 at 00:57 +0100, duchier at ps.uni-sb.de wrote:
> The selection logic is:
>
> 1. if we don't have a tty, use dots
> 2. else obey a command-line option
> 3. else obey a config option
> 4. else if this is a dumb terminal use dots
> 5. otherwise use a progress bar
I think 1 and 2 should be swapped.
Occasionally, I have been found trying to do some very unnatural things
with sub-processes (cvs in particular) and it's VERY frustrating when a
a heuristic cannot be overridden. If I recall correctly, the specific
problem I had was precisely that, cvs would only give the output I
wanted if in a TTY, but Python gives no portable way to spawn a process
in a TTY.
--
-- ddaa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051216/a6d8a4c4/attachment.pgp
More information about the bazaar
mailing list